com.raquo.waypoint.Route
See theRoute companion object
Encoding and decoding are partial functions. Their partial-ness should be symmetrical, otherwise you'll end up with a route that can parse a URL into a Page but can't encode the page into the same URL (or vice versa)
Type parameters
- Args
-
- Type of data saved in the URL for pages matched by this route Note: the Route might match only a subset of args of this type.
- Page
-
- Types of pages that this Route is capable of matching. Note: the Route might match only a subset of pages of this type.
Value parameters
- basePath
-
- This string is inserted after
origin
. If not empty, must start with/
.
- This string is inserted after
- decodePF
-
- Decode Args into Page, if args are valid
- matchEncodePF
-
- Match Any to Page, and if successful, encode it into Args
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article