IRouter<'model, 'msg> Type

A router that binds page navigation with Elmish.

Instance members

Instance member Description

this.GetRoute

Full Usage: this.GetRoute

Parameters:
    model : 'model

Returns: string
Modifiers: abstract

Get the uri corresponding to model.

model : 'model
Returns: string

this.SetRoute

Full Usage: this.SetRoute

Parameters:
    uri : string

Returns: 'msg option
Modifiers: abstract

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

uri : string
Returns: 'msg option