Mock RouterCtl that does nothing but record events.
Mock RouterCtl that does nothing but record events.
Call events to inspect recorded events, and clear to clear them.
- Companion
- object
Value members
Inherited methods
Change the behaviour of set and all derivatives.
Change the behaviour of set and all derivatives.
For example, this can be used to set a component's state immediately before setting a new route.
- Inherited from
- RouterCtlF
Change the behaviour of set and all derivatives.
Change the behaviour of set and all derivatives.
For example, this can be used to set a component's state immediately before setting a new route.
- Inherited from
- RouterCtlF
Return a new version of this that executes the specified callback after setting new routes.
Return a new version of this that executes the specified callback after setting new routes.
- Inherited from
- RouterCtlF
Deprecated and Inherited methods
@deprecated("Use .onSetRun(callback).setOnClick(route)", "forever")
- Deprecated
- Inherited from
- RouterCtlF