Home > @uniformdev/project-map > Route

Route class

Signature:

Constructors

ConstructorModifiersDescription
(constructor)(route)Constructs a new instance of the <code>Route</code> class

Properties

PropertyModifiersTypeDescription
dynamicSegmentCount<code>readonly</code>number
dynamicSegmentPrefix<code>static</code>string
route<code>readonly</code>string

Methods

MethodModifiersDescription
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