---
url: https://lit-ui-router.dev/api/reference/types/SrefTargetParams.md
---
[lit-ui-router](../index.md) / SrefTargetParams

# Interface: SrefTargetParams

Defined in: [packages/lit-ui-router/src/sref-active.ts:39](https://github.com/simshanith/lit-ui-router/blob/94983cdc3394e721dde003188282f6209606ba22/packages/lit-ui-router/src/sref-active.ts#L39)

Which state an attribute-part active directive watches. Name a state, or
leave it out to watch the [srefHref](../directives/srefHref.md) links inside the element instead
(container mode, as [uiSrefActive](../directives/uiSrefActive.md) does).

## Extended by

* [`SrefActiveClassParams`](SrefActiveClassParams.md)
* [`SrefAriaCurrentParams`](SrefAriaCurrentParams.md)
* [`SrefStatusControllerOptions`](../controllers/SrefStatusControllerOptions.md)

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
|  `options?` | [`TransitionOptions`](https://ui-router.github.io/core/docs/latest/interfaces/_transition_interface_.transitionoptions.html) | Transition options; `relative` defaults to the enclosing view's state | [packages/lit-ui-router/src/sref-active.ts:45](https://github.com/simshanith/lit-ui-router/blob/94983cdc3394e721dde003188282f6209606ba22/packages/lit-ui-router/src/sref-active.ts#L45) |
|  `params?` | [`RawParams`](https://ui-router.github.io/core/docs/latest/interfaces/_params_interface_.rawparams.html) | State parameters to match | [packages/lit-ui-router/src/sref-active.ts:43](https://github.com/simshanith/lit-ui-router/blob/94983cdc3394e721dde003188282f6209606ba22/packages/lit-ui-router/src/sref-active.ts#L43) |
|  `state?` | `string` | The state name to check for active status | [packages/lit-ui-router/src/sref-active.ts:41](https://github.com/simshanith/lit-ui-router/blob/94983cdc3394e721dde003188282f6209606ba22/packages/lit-ui-router/src/sref-active.ts#L41) |
