Skip to content

Commit

Permalink
revert merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leagrdv committed Oct 9, 2024
1 parent 08503a8 commit 4672c23
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/components/src/components/post-tooltip/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@ Type: `Promise<void>`



### `show(target: HTMLElement) => Promise<void>`
### `show(target: HTMLElement, triggeredByFocus?: boolean) => Promise<void>`

Programmatically display the tooltip

#### Parameters

| Name | Type | Description |
| -------- | ------------- | ---------------------------------------------------------------------------- |
| `target` | `HTMLElement` | An element with [data-tooltip-target="id"] where the tooltip should be shown |
| Name | Type | Description |
| ------------------ | ------------- | ---------------------------------------------------------------------------- |
| `target` | `HTMLElement` | An element with [data-tooltip-target="id"] where the tooltip should be shown |
| `triggeredByFocus` | `boolean` | A boolean indicating if the tooltip was triggered by a focus event. |

#### Returns

Expand Down

0 comments on commit 4672c23

Please sign in to comment.