lit-ui-router / SrefActiveClassParams
Interface: SrefActiveClassParams
Defined in: packages/lit-ui-router/src/sref-active.ts:290
Parameters for srefActiveClass.
Extends
Properties
| Property | Type | Description | Inherited from | Defined 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? | ClassInfo | Other 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? | TransitionOptions | Transition options; relative defaults to the enclosing view's state | SrefTargetParams.options | packages/lit-ui-router/src/sref-active.ts:44 |
params? | RawParams | State parameters to match | SrefTargetParams.params | packages/lit-ui-router/src/sref-active.ts:42 |
state? | string | The state name to check for active status | SrefTargetParams.state | packages/lit-ui-router/src/sref-active.ts:40 |