Route
japgolly.scalajs.react.extra.router.StaticDsl$.Route
final class Route[A](pattern: Pattern, parseFn: Matcher => Option[A], buildFn: A => Path) extends RouteCommon[Route, A], ForRoute[A]
A complete route.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Prism map.
Prism map.
Some values of A
can be turned into a B
s, some fail (in which case the route is considered non-matching).
All B
s can be turned back into A
s.
Attributes
- Definition Classes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
Inherited methods
Maps the captures values of the route to a case class.
Attributes
- Inherited from:
- RouteCommon
Attributes
- Inherited from:
- RouteCommon
Attributes
- Inherited from:
- RouteCommon
Attributes
- Inherited from:
- RouteCommon
Exponential map.
Exponential map.
Any A
can be turned into a B
and vice versa.
Attributes
- Inherited from:
- RouteCommon
In this article