lit-ui-router / SrefActiveClassParams
Interface: SrefActiveClassParams
Defined in: packages/lit-ui-router/src/sref-active.ts:266
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:268 |
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:278 |
exactClasses? | string[] | CSS classes to add only when the exact state is active | - | packages/lit-ui-router/src/sref-active.ts:270 |
options? | TransitionOptions | Transition options; relative defaults to the enclosing view's state | SrefTargetParams.options | packages/lit-ui-router/src/sref-active.ts:43 |
params? | RawParams | State parameters to match | SrefTargetParams.params | packages/lit-ui-router/src/sref-active.ts:41 |
state? | string | The state name to check for active status | SrefTargetParams.state | packages/lit-ui-router/src/sref-active.ts:39 |