bellroy/elm-actor-framework-template/1.0.0

Formerly tricycle/elm-actor-framework-template. Search finds this package by either name.

Framework.Template.Component

type alias Component appActors =
Component appActors

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

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

Create a new Template Component configuration

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