UrlSegmentGroup
Class
stable
Represents the parsed URL segment group.
API
class UrlSegmentGroup { constructor(segments: UrlSegment[], children: { [key: string]: UrlSegmentGroup; }): UrlSegmentGroup; parent: UrlSegmentGroup | null; override segments: UrlSegment[]; override children: { [key: string]: UrlSegmentGroup; }; hasChildren(): boolean; readonly numberOfChildren: number; toString(): string;}
constructor
UrlSegmentGroup@returns
UrlSegmentGroupparent
UrlSegmentGroup | nullThe 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
booleanWhether the segment has child segments
@returns
booleannumberOfChildren
numberNumber of child segments
toString
string@returns
stringDescription
Represents the parsed URL segment group.
See UrlTree for more information.
Jump to details