@substrate-system/routes
Preparing search index...
Router
Class Router
Index
Constructors
constructor
Properties
route
Map
routes
Methods
add
Route
match
Constructors
constructor
new
Router
()
:
Router
Returns
Router
Properties
route
Map
routeMap
:
[
string
|
RegExp
,
RouteHandler
]
[]
= []
routes
routes
:
Route
[]
= []
Methods
add
Route
addRoute
(
path
:
string
|
RegExp
,
action
:
RouteHandler
)
:
Router
Parameters
path
:
string
|
RegExp
action
:
RouteHandler
Returns
Router
match
match
(
uri
:
string
,
startAt
?:
number
)
:
RouteMatch
|
null
Parameters
uri
:
string
Optional
startAt
:
number
Returns
RouteMatch
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
route
Map
routes
Methods
add
Route
match
@substrate-system/routes
Loading...