Search
Preparing search index...
The search index is not available
Crank Router
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
Crank Router
Index
Enumerations
Path
Prefix
Classes
History
Interfaces
Page
Props
Route
Router
Props
Type aliases
Link
Element
Page
Component
Path
Mode
Variables
history
location
Functions
Router
parse
Path
watch
Stop
Type aliases
Link
Element
Link
Element
:
HTMLAnchorElement
|
HTMLAreaElement
|
HTMLFormElement
Page
Component
Page
Component
:
(
props
:
PageProps
)
=>
ReturnType
<
Component
>
Type declaration
(
props
:
PageProps
)
:
ReturnType
<
Component
>
Parameters
props:
PageProps
Returns
ReturnType
<
Component
>
Path
Mode
Path
Mode
:
keyof
typeof
PathPrefix
Variables
history
history
:
History
location
location
:
Location
Functions
Router
Router
(
this
:
Context
, __namedParameters
:
{
children
:
string
|
number
|
false
|
true
|
Element
<
string
|
symbol
|
(
(
this
:
Context
<
TProps
>
, props
:
TProps
)
=>
ChildIterator
|
MaybePromiseLike
<
Child
>
)
>
|
ChildIterable
;
className
:
string
;
endClass
:
string
;
map
:
Route
[]
;
mode
:
"hash"
|
"path"
;
spinner
:
string
|
number
|
false
|
true
|
Element
<
string
|
symbol
|
(
(
this
:
Context
<
TProps
>
, props
:
TProps
)
=>
ChildIterator
|
MaybePromiseLike
<
Child
>
)
>
|
ChildIterable
;
startClass
:
string
}
)
:
AsyncGenerator
<
Child
,
any
,
HTMLElement
>
Parameters
this:
Context
__namedParameters:
{
children
:
string
|
number
|
false
|
true
|
Element
<
string
|
symbol
|
(
(
this
:
Context
<
TProps
>
, props
:
TProps
)
=>
ChildIterator
|
MaybePromiseLike
<
Child
>
)
>
|
ChildIterable
;
className
:
string
;
endClass
:
string
;
map
:
Route
[]
;
mode
:
"hash"
|
"path"
;
spinner
:
string
|
number
|
false
|
true
|
Element
<
string
|
symbol
|
(
(
this
:
Context
<
TProps
>
, props
:
TProps
)
=>
ChildIterator
|
MaybePromiseLike
<
Child
>
)
>
|
ChildIterable
;
startClass
:
string
}
children
:
string
|
number
|
false
|
true
|
Element
<
string
|
symbol
|
(
(
this
:
Context
<
TProps
>
, props
:
TProps
)
=>
ChildIterator
|
MaybePromiseLike
<
Child
>
)
>
|
ChildIterable
class
Name
:
string
end
Class
:
string
map
:
Route
[]
mode
:
"hash"
|
"path"
spinner
:
string
|
number
|
false
|
true
|
Element
<
string
|
symbol
|
(
(
this
:
Context
<
TProps
>
, props
:
TProps
)
=>
ChildIterator
|
MaybePromiseLike
<
Child
>
)
>
|
ChildIterable
start
Class
:
string
Returns
AsyncGenerator
<
Child
,
any
,
HTMLElement
>
parse
Path
parse
Path
(
raw
:
string
)
:
{
path
:
string
}
Parameters
raw:
string
Returns
{
path
:
string
}
path
:
string
watch
Stop
watch
Stop
(
element
:
HTMLElement
)
:
Promise
<
any
>
Parameters
element:
HTMLElement
Returns
Promise
<
any
>
Globals
Path
Prefix
History
Page
Props
Route
Router
Props
Link
Element
Page
Component
Path
Mode
history
location
Router
parse
Path
watch
Stop
Generated using
TypeDoc