japgolly.scalajs.react.test.MockRouterCtlF
See theMockRouterCtlF companion object
class MockRouterCtlF[F[_], P](val baseUrl: BaseUrl, pageToPath: P => Path)(implicit ff: Sync[F]) extends RouterCtlF[F, 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
-
class RouterCtlF[F, P]class Objecttrait Matchableclass Any
- Known subtypes
-
class MockRouterCtl[P]
- Self type
-
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- RouterCtlF
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
- 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
In this article