japgolly.scalajs.react.test.MockRouterCtl
See theMockRouterCtl companion object
class MockRouterCtl[P](baseUrl: BaseUrl, pageToPath: P => Path) extends MockRouterCtlF[Sync, P]
Mock RouterCtl that does nothing but record events.
Call events to inspect recorded events, and clear to clear them.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- MockRouterCtlF
Attributes
- Inherited from:
- RouterCtlF
Attributes
- Inherited from:
- MockRouterCtlF
Attributes
- Inherited from:
- RouterCtlF
Attributes
- Inherited from:
- RouterCtlF
Attributes
- 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.
Attributes
- 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.
Attributes
- 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.
Attributes
- Inherited from:
- RouterCtlF
Attributes
- Definition Classes
-
MockRouterCtlF -> RouterCtlF
- Inherited from:
- MockRouterCtlF
Attributes
- Definition Classes
-
MockRouterCtlF -> RouterCtlF
- Inherited from:
- MockRouterCtlF
Attributes
- Definition Classes
-
MockRouterCtlF -> RouterCtlF
- Inherited from:
- MockRouterCtlF
Attributes
- Inherited from:
- RouterCtlF
Attributes
- Inherited from:
- RouterCtlF
Attributes
- Inherited from:
- RouterCtlF
Attributes
- Inherited from:
- RouterCtlF
Attributes
- Inherited from:
- RouterCtlF
Attributes
- Inherited from:
- RouterCtlF
Deprecated and Inherited methods
Attributes
- Deprecated
- true
- Inherited from:
- RouterCtlF
Attributes
- Deprecated
- true
- Inherited from:
- RouterCtlF
Attributes
- Deprecated
- true
- Inherited from:
- RouterCtlF
Inherited fields
Attributes
- Inherited from:
- MockRouterCtlF
In this article