UrlSegmentGroup

Stable

Class

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

Constructor

constructor(segments: UrlSegment[], children: {[key: string]: UrlSegmentGroup})

Class Details

exported from router/index, defined in router/src/url_tree.ts