Home > @uniformdev/project-map > Route
Route class
Signature:
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(route) | Constructs a new instance of the <code>Route</code> class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
dynamicSegmentCount | <code>readonly</code> | number | |
dynamicSegmentPrefix | <code>static</code> | string | |
route | <code>readonly</code> | string |
Methods
Method | Modifiers | Description |
---|---|---|
expand(options) | Creates an expanded path value for this route given dynamic input values and allowed query string values | |
getDynamicRouteSegmentName(segment) | <code>static</code> | |
matches(path) | Tests if an incoming path matches this route |