Attributes
Members list
Value members
Concrete methods
Create a route with path segments only
Create a route with path segments only
Attributes
Create a partial route with path segments only
Create a partial route with path segments only
In this version you can match only a subset of the Page type. Make sure that the partiality of matchEncode
mirrors that of decode
, otherwise you'll have a route that can match a page but can not produce a url for that page (or vice versa).
Value parameters
- matchEncode
-
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Attributes
Create a route with page data encoded in query params only
Create a route with page data encoded in query params only
Attributes
Create a partial route with page data encoded in query params only
Create a partial route with page data encoded in query params only
In this version you can match only a subset of the Page type. Make sure that the partiality of matchEncode
mirrors that of decode
, otherwise you'll have a route that can match a page but can not produce a url for that page (or vice versa).
Value parameters
- matchEncode
-
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Attributes
Create a route with page data encoded in query params only
Create a route with page data encoded in query params only
Attributes
Create a route with page data encoded in query params and fragment
Create a route with page data encoded in query params and fragment
Attributes
Create a partial route with page data encoded in query params and fragment
Create a partial route with page data encoded in query params and fragment
In this version you can match only a subset of the Page type. Make sure that the partiality of matchEncode
mirrors that of decode
, otherwise you'll have a route that can match a page but can not produce a url for that page (or vice versa).
Value parameters
- matchEncode
-
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Attributes
Create a partial route with page data encoded in query params only
Create a partial route with page data encoded in query params only
In this version you can match only a subset of the Page type. Make sure that the partiality of matchEncode
mirrors that of decode
, otherwise you'll have a route that can match a page but can not produce a url for that page (or vice versa).
Value parameters
- matchEncode
-
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Attributes
Create a route for a static page that does not encode any data in the URL
Create a route for a static page that does not encode any data in the URL
Attributes
Create a route with page data encoded in path segments and fragment
Create a route with page data encoded in path segments and fragment
Attributes
Create a partial route with page data encoded in path segments and fragment
Create a partial route with page data encoded in path segments and fragment
In this version you can match only a subset of the Page type. Make sure that the partiality of matchEncode
mirrors that of decode
, otherwise you'll have a route that can match a page but can not produce a url for that page (or vice versa).
Value parameters
- matchEncode
-
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Attributes
Create a route with page data encoded in path segments and query params
Create a route with page data encoded in path segments and query params
Attributes
Create a route with page data encoded in path segments, query params and fragment
Create a route with page data encoded in path segments, query params and fragment
Attributes
Create a partial route with page data encoded in path segments, query params and fragment
Create a partial route with page data encoded in path segments, query params and fragment
In this version you can match only a subset of the Page type. Make sure that the partiality of matchEncode
mirrors that of decode
, otherwise you'll have a route that can match a page but can not produce a url for that page (or vice versa).
Value parameters
- matchEncode
-
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Attributes
Create a partial route with page data encoded in path segments and query params
Create a partial route with page data encoded in path segments and query params
In this version you can match only a subset of the Page type. Make sure that the partiality of matchEncode
mirrors that of decode
, otherwise you'll have a route that can match a page but can not produce a url for that page (or vice versa).
Value parameters
- matchEncode
-
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Attributes
Concrete fields
Use this as basePath
if you want your route to match /#/foo
instead of /foo
Use this as basePath
if you want your route to match /#/foo
instead of /foo