Pebble.Companion.Configuration
Open and observe the Pebble companion configuration page.
init _ =
( model, Configuration.open "https://example.com/config" )
subscriptions _ =
Configuration.onClosed ConfigurationClosedCommands
open
open : String -> Cmd msgAsk the companion bridge to open a configuration URL.
setup
setup : Cmd msgRegister this platform handler with the companion bridge.
Subscriptions
onClosed
onClosed : (Maybe String -> msg) -> Sub msgReceive configuration close events from the companion bridge.
Registering this subscription also tells the bridge to send configuration events.