ui-router-server / matcher / CompiledParam
Interface: CompiledParam
Defined in: url-matcher.ts:248
A compiled parameter: inert data for one placeholder of a pattern.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
defaultValue | readonly | unknown | The static default value, applied directly (see the module docblock). | url-matcher.ts:262 |
id | readonly | string | The placeholder's name, as written in the pattern. | url-matcher.ts:250 |
isOptional | readonly | boolean | Whether the param may be absent — it has a static default, or it is a search param. | url-matcher.ts:256 |
isSearch | readonly | boolean | Whether the placeholder came from the pattern's search part (?flag). | url-matcher.ts:254 |
replace | readonly | readonly Replace[] | Input rewrites applied before typing (see Replace). | url-matcher.ts:260 |
squash | readonly | string | boolean | The url squash policy: false, true, or the placeholder string. | url-matcher.ts:258 |
type | readonly | ParamType | The ParamType that decodes, encodes and validates its values. | url-matcher.ts:252 |