From 4672c239027928b6d951cd6edb4c35b80ba37466 Mon Sep 17 00:00:00 2001 From: leagrdv Date: Wed, 9 Oct 2024 17:26:28 +0200 Subject: [PATCH] revert merge issue --- .../components/src/components/post-tooltip/readme.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/components/src/components/post-tooltip/readme.md b/packages/components/src/components/post-tooltip/readme.md index a9f6a8672d..46b675438a 100644 --- a/packages/components/src/components/post-tooltip/readme.md +++ b/packages/components/src/components/post-tooltip/readme.md @@ -26,15 +26,16 @@ Type: `Promise` -### `show(target: HTMLElement) => Promise` +### `show(target: HTMLElement, triggeredByFocus?: boolean) => Promise` 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