NOTE: the latest version is 3.1.2
Behaves a lot like element from the Html package, with a few additions.
load
init
failCmd
loadingView
errorView
An alias for the Browser.Program that gets produced from this package which makes it easier to add type annotations for your programs.
Behaves a lot like element from the Html package, with a few additions.
loadreplacesinit.failCmdcan be used to send any error that results from theloadtask through a port.loadingViewcan take flags and return a loading view.errorViewcan take any error that results fromloadand display an error message.