bellroy/elm-actor-framework-template/1.0.0

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

Framework.Template.Components

type alias Components appActors =
Components appActors

Represents a collection of Template.Component's

empty : Components appActors

Returns an empty Components collection

fromList : List (Component appActors) -> Components appActors

Create a Components collection from a list of Component's

insert : Component appActors -> Components appActors -> Components appActors

Add a Component to your Components collection

remove : Component appActors -> Components appActors -> Components appActors

Remove a Component from your Components collection

getByNodeName : String -> Components appActors -> Maybe (Component appActors)

Get a Component based on its configured nodeName

Components appActors
-> Components appActors
-> Components appActors

Combine two Components collections