com.alecdorrington.laminarcomponents.Router
final class Router[
R](
parse:
String => R,
path:
R => String)
The current route of a page, kept in step with the address bar and history. Change it only through navigate and redirect.
Type parameters
- R
-
A route.
Value parameters
- parse
-
The route a URL path names.
- path
-
The path of a route's URL.
Attributes
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
Members list
Moves to a route, as a new entry in the browser's history.
Moves to a route, as a new entry in the browser's history.
Value parameters
- to
-
The route.
Attributes
Moves to a route in place of the current entry in the browser's history.
Moves to a route in place of the current entry in the browser's history.
Value parameters
- to
-
The route.
Attributes
The route on display, followed for as long as the page is open.
The route on display, followed for as long as the page is open.
Attributes