Router<'model, 'msg>

Namespace: Bolero

A simple hand-written router.

Record Fields

Record FieldDescription
getRoute
Signature: 'model -> string

Get the uri corresponding to model.

setRoute
Signature: string -> 'msg option

Get the message to send when the page navigates to uri.