Preparing search index...
The search index is not available
router-segments
router-segments
SegmentRoute
Interface SegmentRoute<Locales, RouteRef>
interface
SegmentRoute
<
Locales
,
RouteRef
>
{
defaultRoute
:
undefined
|
EndRoute
<
Locales
,
RouteRef
>
;
getPath
:
(
(
locale
?
)
=>
RoutePathInterface
)
;
isLocalized
:
(
(
)
=>
boolean
)
;
isSegment
:
(
(
)
=>
true
)
;
nestedRoutes
:
Route
<
RoutePathInterface
,
Locales
,
RouteRef
>
[]
;
toJSON
:
(
(
)
=>
any
)
;
toString
:
(
(
)
=>
string
)
;
}
Type Parameters
Locales
extends
LocaleType
RouteRef
Hierarchy (
view full
)
Route
<
SegmentRoutePath
,
Locales
,
RouteRef
>
SegmentRoute
Index
Properties
default
Route
get
Path
is
Localized
is
Segment
nested
Routes
toJSON
to
String
Properties
default
Route
default
Route
:
undefined
|
EndRoute
<
Locales
,
RouteRef
>
get
Path
get
Path
:
(
(
locale
?
)
=>
RoutePathInterface
)
Type declaration
(
locale
?
)
:
RoutePathInterface
Parameters
Optional
locale
:
Locales
Returns
RoutePathInterface
is
Localized
is
Localized
:
(
(
)
=>
boolean
)
Type declaration
(
)
:
boolean
Returns
boolean
is
Segment
is
Segment
:
(
(
)
=>
true
)
Type declaration
(
)
:
true
Returns
true
nested
Routes
nested
Routes
:
Route
<
RoutePathInterface
,
Locales
,
RouteRef
>
[]
toJSON
toJSON
:
(
(
)
=>
any
)
Type declaration
(
)
:
any
Returns
any
to
String
to
String
:
(
(
)
=>
string
)
Type declaration
(
)
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
default
Route
get
Path
is
Localized
is
Segment
nested
Routes
toJSON
to
String
router-segments
Loading...