RouterWithPropsConfigF
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
Members list
Value members
Concrete methods
Check specified pages for possible route config errors, and returns any detected.
Check specified pages for possible route config errors, and returns any detected.
Note: Requires that Page#equals()
be sensible. Note: If in production-mode (fullOptJS
), this always returns an empty collection.
Attributes
- Returns
-
Error messages (or an empty collection if no errors are detected).
Add an procedure to be performed after the router renders.
Add an procedure to be performed after the router renders.
Value parameters
- f
-
Given the previous page and the current page that just rendered, return a callback.
Attributes
Add an procedure to be performed after the router renders.
Add an procedure to be performed after the router renders.
Value parameters
- f
-
Given the previous page, the current page that just rendered and props, return a callback.
Attributes
Specify how to render a page once it's resolved. This function will be applied to all renderable pages.
Specify how to render a page once it's resolved. This function will be applied to all renderable pages.
Attributes
Specify how to render a page once it's resolved. This function will be applied to all renderable pages.
Specify how to render a page once it's resolved. This function will be applied to all renderable pages.
Attributes
Specify (entirely) what to do after the router renders.
Specify (entirely) what to do after the router renders.
Value parameters
- f
-
Given the previous page and the current page that just rendered, return a callback.
Attributes
Specify (entirely) what to do after the router renders.
Specify (entirely) what to do after the router renders.
Value parameters
- f
-
Given the previous page, the current page that just rendered and props, return a callback.
Attributes
Change the document title after the router renders.
Change the document title after the router renders.
Value parameters
- f
-
Given the current page that just rendered, return a new title.
Attributes
Change the document title after the router renders.
Change the document title after the router renders.
Value parameters
- f
-
Given the current page that just rendered, return potential new title.
Attributes
Change the document title after the router renders.
Change the document title after the router renders.
Value parameters
- f
-
Given the current page that just rendered and props, return potential new title.
Attributes
Change the document title after the router renders.
Change the document title after the router renders.
Value parameters
- f
-
Given the current page that just rendered and props, return a new title.
Attributes
Asserts that the page arguments provided, don't encounter any route config errors.
Asserts that the page arguments provided, don't encounter any route config errors.
If any errors are detected, the Router will be replaced with a new dummy router that displays the error messages.
If you want direct, programmatic access to the errors themselves, use detectErrors instead.
Note: Requires that Page#equals()
be sensible. Note: If in production-mode (fullOptJS
), this always returns this
.
Attributes
- Returns
-
In the event that errors are detected, a new RouterConfig that displays them; else this unmodified.
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product