Header menu logo Sutil

Navigable Type

Window location events

Static members

Static member Description

Navigable.bindLocation view

Full Usage: Navigable.bindLocation view

Parameters:
Returns: SutilElement

Bind the window location to a view

view : Location -> SutilElement
Returns: SutilElement

Navigable.listenLocation (parser, dispatch)

Full Usage: Navigable.listenLocation (parser, dispatch)

Parameters:
    parser : Parser<'T>
    dispatch : 'T -> unit

Returns: unit -> unit

Call dispatch each time the window's location changes. The location is parsed into a 'T with the given parser/

parser : Parser<'T>
dispatch : 'T -> unit
Returns: unit -> unit

Navigable.listenLocation onChangeLocation

Full Usage: Navigable.listenLocation onChangeLocation

Parameters:
Returns: unit -> unit

Call dispatch each time the window's location changes. The location is parsed into a 'T with the given parser/

onChangeLocation : Location -> unit
Returns: unit -> unit

Type something to start searching.