StaticDsl
japgolly.scalajs.react.extra.router.StaticDsl$
object StaticDsl
This is not meant to be imported by library-users; RouterConfigDsl is the entire library-user-facing facade & DSL.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StaticDsl.type
Members list
Type members
Classlikes
final class DynamicRedirectB[Page, Props, A, O](f: (A => Redirect[Page]) => O) extends AnyVal
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
final class DynamicRouteB[Page, Props, P <: Page, O](f: (P => Action[Page, Props]) => O) extends AnyVal
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
final class Route[A](pattern: Pattern, parseFn: Matcher => Option[A], buildFn: A => Path) extends RouteCommon[Route, A], ForRoute[A]
A complete route.
A complete route.
Attributes
- Supertypes
class RouteB[A](val regex: String, val matchGroups: Int, val parse: (Int => String) => Option[A], val build: A => String) extends RouteCommon[RouteB, A], ForRouteB[A]
A fragment of a route. Can be composed with other fragments.
A fragment of a route. Can be composed with other fragments.
Value parameters
- matchGroups
-
The number of matches that
regex
will capture.
Attributes
- Companion
- object
- Supertypes
object RouteB
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
final class StaticRedirectB[Page, Props, O](f: (=> Redirect[Page]) => O) extends AnyVal
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
final class StaticRouteB[Page, Props, O](f: (=> Action[Page, Props]) => O) extends AnyVal
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
In this article