Skip to content

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

PropertyModifierTypeDescriptionDefined in
defaultValuereadonlyunknownThe static default value, applied directly (see the module docblock).url-matcher.ts:262
idreadonlystringThe placeholder's name, as written in the pattern.url-matcher.ts:250
isOptionalreadonlybooleanWhether the param may be absent — it has a static default, or it is a search param.url-matcher.ts:256
isSearchreadonlybooleanWhether the placeholder came from the pattern's search part (?flag).url-matcher.ts:254
replacereadonlyreadonly Replace[]Input rewrites applied before typing (see Replace).url-matcher.ts:260
squashreadonlystring | booleanThe url squash policy: false, true, or the placeholder string.url-matcher.ts:258
typereadonlyParamTypeThe ParamType that decodes, encodes and validates its values.url-matcher.ts:252