> For the complete documentation index, see [llms.txt](https://attr.sygnal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://attr.sygnal.com/overview/events/triggers/hover-trigger.md).

# Hover Trigger

## Usage Notes&#x20;

### `sa-trigger-mouseenter` = ( *event name* )&#x20;

Place on any element that should invoke the specified event when the mouse enters. &#x20;

Assign whatever event name you like, depending on your trigger-event-action setup.&#x20;

```html
<div sa-trigger-mouseenter="my-event"></div>
```

### `sa-trigger-mouseleave` = ( *event name* )&#x20;

Place on any element that should invoke the specified event when the mouse leaves. &#x20;

Assign whatever event name you like, depending on your trigger-event-action setup.&#x20;

```html
<div sa-trigger-mouseleave="my-event"></div>
```

## Future&#x20;

Allow restricted triggering&#x20;

* Once
* Unlimited, but element must leave page to reset &#x20;

Do this at the event level?&#x20;
