Constructors
constructor
-
Parameters
Properties
Private _path
_path: string
Optional children
Optional handler
keys
keys: Key[] = []
method
Optional parent
Accessors
path
- get path(): string
- set path(value: string): void
-
Returns string
-
Parameters
Returns void
regexp
-
Returns RegExp
Methods
add
-
Parameters
Returns this
getPathParam
-
Type parameters
Parameters
match
- match(path: string): boolean
-
Parameters
Returns boolean
Static create
-
Parameters
Static createChildRoute
-
Parameters
添加子路由