<!-- AUTO-GENERATED by packages/components/bin/generate-skill-component-catalog.js. Do not edit by hand. -->

# r-popover-trigger

The trigger element that opens a connected `r-popover` on click or hover. Place in the `trigger` slot of `r-popover`.

Example
```
<r-popover>
  <r-popover-trigger>
    <r-icon-button name="info" label="More information"></r-icon-button>
  </r-popover-trigger>
</r-popover>
```

## class: `RPopoverTrigger`, `r-popover-trigger`

### Methods

| Name       | Privacy | Description                                                      | Parameters | Return          | Inherited From |
| ---------- | ------- | ---------------------------------------------------------------- | ---------- | --------------- | -------------- |
| `setBlur`  |         | Remove focus from the first focusable element within the trigger |            | `Promise<void>` |                |
| `setFocus` |         | Set focus on the first focusable element within the trigger      |            | `Promise<any>`  |                |

### Events

| Name                | Type               | Description                                     | Inherited From |
| ------------------- | ------------------ | ----------------------------------------------- | -------------- |
| `triggerMouseEnter` | `CustomEvent<any>` | Event emitted when the mouse enters the trigger |                |
| `triggerMouseLeave` | `CustomEvent<any>` | Event emitted when the mouse leaves the trigger |                |

### Slots

| Name | Description                                               |
| ---- | --------------------------------------------------------- |
|      | The trigger element that opens the popover on interaction |

<hr/>

## Exports

| Kind                        | Name                | Declaration     | Module | Package |
| --------------------------- | ------------------- | --------------- | ------ | ------- |
| `js`                        | `RPopoverTrigger`   | RPopoverTrigger |        |         |
| `custom-element-definition` | `r-popover-trigger` | RPopoverTrigger |        |         |
