# certara-tooltip

`certara-tooltip` uses the [Floating UI](https://floating-ui.com) positioning library (successor to Popper) as a dependency

<!-- Auto Generated Below -->


## Properties

| Property        | Attribute        | Description                                                                                                                                                                       | Type                                                                                                       | Default      |
| --------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------ |
| `hasPadding`    | `has-padding`    | Whether to add padding to the popover                                                                                                                                             | `boolean`                                                                                                  | `true`       |
| `opened`        | `opened`         | Forces the popover to open or close                                                                                                                                               | `boolean`                                                                                                  | `false`      |
| `placement`     | `placement`      | These options will suggest a starting point for the popover position, but `<certara-popover>` will automatically position itself within the viewport to avoid appearing offscreen | `"bottom" \| "bottom-start" \| "left" \| "left-start" \| "right" \| "right-start" \| "top" \| "top-start"` | `undefined`  |
| `popoverHeader` | `popover-header` | Creates a header section for the popover                                                                                                                                          | `string`                                                                                                   | `undefined`  |
| `position`      | `position`       | Use 'fixed' to break a popover out of a positioned container                                                                                                                      | `"absolute" \| "fixed"`                                                                                    | `'absolute'` |
| `size`          | `size`           | Sets a width on the popover                                                                                                                                                       | `"lg" \| "sm"`                                                                                             | `undefined`  |


## Events

| Event          | Description                          | Type                |
| -------------- | ------------------------------------ | ------------------- |
| `certaraClose` | Event emitted when popover is closed | `CustomEvent<void>` |
| `certaraOpen`  | Event emitted when popover is opened | `CustomEvent<void>` |


## Methods

### `hide() => Promise<void>`

Public method to hide the popover

#### Returns

Type: `Promise<void>`



### `show() => Promise<void>`

Public method to show the popover

#### Returns

Type: `Promise<void>`




## Slots

| Slot                | Description                                                |
| ------------------- | ---------------------------------------------------------- |
|                     | Content in the default slot is the opener for the popover. |
| `"popover-content"` | Content for the popover.                                   |


----------------------------------------------


