flarebyte / bubblegum-entity / Bubblegum.Entity.SettingsEntity

A settings entity represents some configuration that could be applied to a widget


type alias Model =
{ attributes : List Bubblegum.Entity.Attribute.Model }

The core representation of settings entity is mostly a list of attributes.

setAttributes : List Bubblegum.Entity.Attribute.Model -> Model -> Model

Assign attributes to an entity

asAttributesIn : Model -> List Bubblegum.Entity.Attribute.Model -> Model

Assign attributes to an entity