bellroy / elm-actor-framework-template / Framework.Template.Component


type alias Component appActors =
Framework.Template.Internal.Component.Component appActors

A TemplateComponent describes the link between your Actors and Template Elements.

make : { nodeName : String, actor : appActors } -> Component appActors

Create a new Template Component configuration

setDefaultAttributes : List ( String, String ) -> Component appActors -> Component appActors

Set the default attributes on your Template Component

toActor : Component appActors -> appActors

Get the Actor defined on a given Component

toDefaultAttributes : Component appActors -> List ( String, String )

Get the default attributes defined on a given Component

toNodeName : Component appActors -> String

Get the nodeName defined on a given Component