japgolly.scalajs.react.extra.router
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
The prefix of all routes on a page.
The prefix of all routes on a page.
The router expects this to be a full URL. Examples: BaseUrl("http://www.blah.com/hello")
, BaseUrl.fromWindowOrigin / "hello"
.
Attributes
- Companion
- object
- Supertypes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class RedirectToPage[Page]class RedirectToPath[Page]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Result of the router resolving a URL and reaching a conclusion about what to render.
Result of the router resolving a URL and reaching a conclusion about what to render.
Value parameters
- page
-
Data representation (or command) of what will be drawn.
- render
-
The render function provided by the rules and logic in RouterConfig.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object BroadcastSync.typeclass Logclass PushStateclass ReplaceStateclass Return[A]class Sequence[A]class SetWindowLocationShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RouterConfig.type
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RouterConfigDsl.type
DSL for creating RouterConfig.
DSL for creating RouterConfig.
Instead creating an instance of this yourself, use RouterConfigDsl.apply.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Router controller. A client API to the router.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RouterCtlF.type
Performs all routing logic.
Performs all routing logic.
Type parameters
- Page
-
Routing rules context. Prevents different routing rule sets being mixed up.
Value parameters
- baseUrl
-
The prefix of all routes in a set.
Attributes
- Supertypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RouterWithProps.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
A single routing rule. Intended to be composed with other RoutingRules. When all rules are composed, this is turned into a RoutingRule.WithFallback instance.
A single routing rule. Intended to be composed with other RoutingRules. When all rules are composed, this is turned into a RoutingRule.WithFallback instance.
Type parameters
- Page
-
The type of legal pages. Most commonly, a sealed trait that you've created, where all subclasses represent a page in your SPA.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RoutingRule.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RoutingRules.type
A complete set of routing rules that allow the router to handle every all routes without further input.
A complete set of routing rules that allow the router to handle every all routes without further input.
Type parameters
- Page
-
The type of legal pages. Most commonly, a sealed trait that you've created, where all subclasses represent a page in your SPA.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RoutingRulesF.type
The means by which the location should be set to a given URL.
The means by which the location should be set to a given URL.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SetRouteVia.type
This is not meant to be imported by library-users; RouterConfigDsl is the entire library-user-facing facade & DSL.
This is not meant to be imported by library-users; RouterConfigDsl is the entire library-user-facing facade & DSL.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StaticDsl.type
Types
A complete set of routing rules that allow the router to handle every all routes without further input.
A complete set of routing rules that allow the router to handle every all routes without further input.
Type parameters
- Page
-
The type of legal pages. Most commonly, a sealed trait that you've created, where all subclasses represent a page in your SPA.