{ init : flags -> Url -> Key -> Update model msg t
, onUrlChange :Url -> msg
, onUrlRequest :UrlRequest -> msg
, subscriptions : model -> Sub msg
, update : msg -> model -> Update model msg t
, view : model -> Document msg
}
-> Program flags model msg
Used as a drop-in replacement for Browser.application, but instead creates a Program
where init and update are based on the Update type of this library.
init : flags -> Url -> Navigation.Key -> Update model msg
update : msg -> model -> Update model msg
Used as a drop-in replacement for
Browser.application, but instead creates aProgramwhereinitandupdateare based on theUpdatetype of this library.