Skip to content

lit-ui-router / SrefActiveClassParams

Interface: SrefActiveClassParams

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

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:268
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:278
exactClasses?string[]CSS classes to add only when the exact state is active-packages/lit-ui-router/src/sref-active.ts:270
options?TransitionOptionsTransition options; relative defaults to the enclosing view's stateSrefTargetParams.optionspackages/lit-ui-router/src/sref-active.ts:43
params?RawParamsState parameters to matchSrefTargetParams.paramspackages/lit-ui-router/src/sref-active.ts:41
state?stringThe state name to check for active statusSrefTargetParams.statepackages/lit-ui-router/src/sref-active.ts:39