@sankhyalabs/ezui-docs
Advanced tools
Comparing version 0.0.0-feat-dev-KB-69274.6 to 0.0.0-feat-dev-KB-69274.7
@@ -10,21 +10,14 @@ # ez-tooltip | ||
| Property | Attribute | Description | Type | Default | | ||
| ------------------ | --------------- | ----------------------------------------------------------- | ------------- | ----------- | | ||
| `anchoringElement` | -- | Elemento HTML que será utilizado como ancoragem do tooltip. | `HTMLElement` | `undefined` | | ||
| `errorMessage` | `error-message` | Mensagem de erro que será apresentada no tooltip. | `string` | `undefined` | | ||
| Property | Attribute | Description | Type | Default | | ||
| ------------------ | ----------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------- | | ||
| `active` | `active` | Define se o tooltip está ativo. | `boolean` | `true` | | ||
| `anchoringElement` | -- | Elemento HTML que será utilizado como ancoragem do tooltip. | `HTMLElement` | `undefined` | | ||
| `debouncingTime` | `debouncing-time` | Tempo de espera para exibir o tooltip após o evento de mouseenter. | `number` | `500` | | ||
| `gapOptions` | -- | Define o espaçamento entre o tooltip e o elemento de ancoragem. | `{ horizontalGap: number; verticalGap: number; }` | `{ horizontalGap: 0, verticalGap: 0 }` | | ||
| `message` | `message` | Mensagem que será apresentada no tooltip. | `string` | `undefined` | | ||
| `minWidth` | `min-width` | Define a largura mínima do elemento. | `number` | `150` | | ||
| `placement` | `placement` | Define a posição do tooltip em relação ao elemento de ancoragem. | `"bottom" \| "bottom-end" \| "bottom-start" \| "left" \| "left-end" \| "left-start" \| "right" \| "right-end" \| "right-start" \| "top" \| "top-end" \| "top-start"` | `'bottom'` | | ||
| `type` | `type` | Define o tipo de tooltip a ser exibido. | `"default" \| "error" \| "success" \| "warning"` | `'default'` | | ||
## Methods | ||
### `positionTooltip() => Promise<void>` | ||
Reposiciona o tooltip de acordo com a posição do elemento de ancoragem. | ||
#### Returns | ||
Type: `Promise<void>` | ||
## Dependencies | ||
@@ -31,0 +24,0 @@ |
{ | ||
"name": "@sankhyalabs/ezui-docs", | ||
"version": "0.0.0-feat-dev-KB-69274.6", | ||
"version": "0.0.0-feat-dev-KB-69274.7", | ||
"description": "Documentação da biblioteca de componentes Sankhya.", | ||
@@ -5,0 +5,0 @@ "main": "", |
195506