Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Route
Interface Route
Index
Methods
addHandler
constructor
match
removeHandler
run
toURL
Methods
public
addHandler
(
fn
:
Function
)
Parameters
fn:
Function
public
constructor
(
path
:
string
, name
:
string
)
:
Route
Parameters
path:
string
name:
string
Returns
Route
public
match
(
path
:
string
, params
:
any
)
:
boolean
Parameters
path:
string
params:
any
Returns
boolean
public
removeHandler
(
fn
:
Function
)
Parameters
fn:
Function
public
run
(
params
:
any
)
Parameters
params:
any
public
toURL
(
params
:
any
)
:
string
Parameters
params:
any
Returns
string
Globals