What it does
Represents the parsed URL segment group.
See UrlTree
for more information.
Class Overview
class UrlSegmentGroup {
constructor
(segments: UrlSegment[], children: {[key: string]: UrlSegmentGroup})
parent
: UrlSegmentGroup
segments
: UrlSegment[]
children
: {[key: string]: UrlSegmentGroup}
hasChildren
() : boolean
numberOfChildren
: number
toString
() : string
}
Class Description
Class Details
parent : UrlSegmentGroup
The parent node in the url tree
segments : UrlSegment[]
The URL segments of this group. See UrlSegment
for more information
children : {[key: string]: UrlSegmentGroup}
The list of children of this group
hasChildren() : boolean
Wether the segment has child segments
numberOfChildren : number
Number of child segments
toString() : string
exported from @angular/router/index, defined in @angular/router/src/url_tree.ts