Header menu logo Navs

IRouter<'View> Type

Instance members

Instance member Description

this.Content

Full Usage: this.Content

Returns: aval<'View voption>
Modifiers: abstract

The current route that is being rendered by the router.

This adaptive value will emit the current route that is being rendered by the router.

Returns: aval<'View voption>

this.ContentSnapshot

Full Usage: this.ContentSnapshot

Returns: 'View voption
Modifiers: abstract

The current route that is being rendered by the router.

This is a single value that will return the current route that is being rendered by the router.

Returns: 'View voption

this.Route

Full Usage: this.Route

Returns: aval<RouteContext voption>
Modifiers: abstract

The current route that is being rendered by the router.

This adaptive value will emit the current route that is being rendered by the router. It will also however emit None when the router is in a state where it doesn't have a route to render, this could be when the router is just starting up and hasn't navigated to any route yet or when the router failed to navigate.

Returns: aval<RouteContext voption>

this.RouteSnapshot

Full Usage: this.RouteSnapshot

Returns: RouteContext voption
Modifiers: abstract

The current route that is being rendered by the router.

This property will return the current route that is being rendered by the router. It will also however return None when the router is in a state where it doesn't have a route to render, this could be when the router is just starting up and hasn't navigated to any route yet or when the router failed to navigate.

Returns: RouteContext voption

Type something to start searching.