MattCheely/tryframe-coordinator/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

Message.ComponentMsg

The ComponentMsg module describes message formats used by components to communicate with the parent application.

= NavRequest Location

Message types that can be sent to the parent app

decoder : Decoder ComponentMsg

Decoder for component messages. Messages are expected to be part of a labeled structure as defined in the LabeledMsg module.

encode : ComponentMsg -> Value

Encodes a ComponentMsg into a LabeledMsg format suitable for sending to a parent app.