document : (output -> Html componentMsgIn) -> Framework.Sandbox.Internal.SandboxComponent.SandboxComponent appFlags componentModel componentMsgIn componentMsgOut output -> Program appFlags componentModel componentMsgIn componentMsgOut output
Turn your component into an Elm Program (!)
Tip On your components module create an exposed main
function on which you invode this function.
You can then elm reactor
to directly navigate to your components file and get a preview of your components output + test results
Framework.Sandbox.Internal.Browser.Program appFlags componentModel componentMsgIn componentMsgOut output
The signature of the program that gets created using document