Renamed to bellroy/elm-actor-framework-template-html. It is published under that name, and new versions come out there.
Versions published as tricycle/elm-actor-framework-template-html still install under that name. 2 versions of 6 come from the new location (see their notes). 4 versions could not be recovered and cannot be installed.
Rerouted (cache, verified). The original is gone. This copy comes from a Lamdera package cache made before it went. The Lamdera package server serves a copy recovered from a Lamdera package cache from 2021-02-13.
What we checked: Rebuilt from the unpacked sources in a Lamdera package cache (5 copies agree), which Elm only writes after the published SHA-1 checked out; elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip is our own, so its SHA-1 is not the published one.
The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.
Details · package.elm-lang.org's zip: https://github.com/tricycle/elm-actor-framework-template-html/zipball/1.1.3/
An empty, blank HtmlTemplate
Parse a string containing valid Html into an HtmlTemplate
Add Components to replace Html Elements with your Actors based on their
nodeNames. (e.g. <my-actor></my-actor>)
Turn a list of Nodes into an HtmlTemplate
This could be useful for when you use your own Html Parser.
Turn a HtmlTemplate into a list of Nodes
This could be useful for when you want to write or use another method of rendering the template in question.
Render your template
Render your template and interpolate any string matching your interpolation dictionary.
renderAndInterpolate
Dict.empty
(Dict.fromList [ ( "foo", "bar" ) ])
(fromNodes [ Text "<p>#[foo]</p>" ])
temmplateTurn a HtmlTemplate into a string
Get the actor, reference and original complete node from a template that are meant to be spawned.
The String is a reference that can be used on the render function in combination with a Pid to render the Actors output.
Your parsed template that originated from a string containing valid Html