Skip to content

lit-ui-router / SrefActiveClassParams

Interface: SrefActiveClassParams

Defined in: packages/lit-ui-router/src/sref-active.ts:290

Parameters for srefActiveClass.

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
activeClasses?string[]CSS classes to add when the state (or a child state) is active-packages/lit-ui-router/src/sref-active.ts:292
classes?ClassInfoOther classes to toggle by their value's truthiness, as classMap takes them. A class attribute holds one toggling directive, so this is where classMap's argument goes when it shares the attribute with ours. A name listed here and in activeClasses applies when either says so.-packages/lit-ui-router/src/sref-active.ts:302
exactClasses?string[]CSS classes to add only when the exact state is active-packages/lit-ui-router/src/sref-active.ts:294
options?TransitionOptionsTransition options; relative defaults to the enclosing view's stateSrefTargetParams.optionspackages/lit-ui-router/src/sref-active.ts:44
params?RawParamsState parameters to matchSrefTargetParams.paramspackages/lit-ui-router/src/sref-active.ts:42
state?stringThe state name to check for active statusSrefTargetParams.statepackages/lit-ui-router/src/sref-active.ts:40