NOTE: the latest version is 1.1.0
In Elm 0.19, programWithFlags was renamed to worker, and program was removed.
programWithFlags
worker
program
Create a [headless] program. This is great if you want to use Elm as the “brain” for something else. You can still communicate with JS via ports and manage your model, you just do not have to specify a view.
view
Same as program, but you can provide flags.
Create a [headless] program. This is great if you want to use Elm as the “brain” for something else. You can still communicate with JS via ports and manage your model, you just do not have to specify a
view.