Home > @uniformdev/project-map > Route

Route class

Signature:

Constructors

<table><thead><tr><th>

Constructor

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

(constructor)(route)

</td><td>

</td><td>

Constructs a new instance of the Route class

</td></tr> </tbody></table>

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

dynamicSegmentCount

</td><td>

readonly

</td><td>

number

</td><td>

</td></tr> <tr><td>

dynamicSegmentPrefix

</td><td>

static

</td><td>

string

</td><td>

</td></tr> <tr><td>

route

</td><td>

readonly

</td><td>

string

</td><td>

</td></tr> </tbody></table>

Methods

<table><thead><tr><th>

Method

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

expand(options)

</td><td>

</td><td>

Creates an expanded path value for this route given dynamic input values and allowed query string values

</td></tr> <tr><td>

getDynamicRouteSegmentName(segment)

</td><td>

static

</td><td>

</td></tr> <tr><td>

matches(path)

</td><td>

</td><td>

Tests if an incoming path matches this route

</td></tr> </tbody></table>