1.0.5 • Published 4 months ago
@atmgrupomaggioli/iris-tooltip v1.0.5
iris-tooltip
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
ctxmenu | ctxmenu | Especifica que se trata de un contextmenu. | boolean | false |
hideArrow | hide-arrow | Oculta la flecha del tooltip. | boolean | false |
interactive | interactive | Verifica si tiene contenido interactivo para poder interactuar con él sin que se oculte. | boolean | false |
noInit | no-init | No inicia automáticamente el tooltip automáticamente. | boolean | false |
placement | placement | Posición del tooltip. | "auto" \| "auto-end" \| "auto-start" \| "bottom" \| "bottom-end" \| "bottom-start" \| "left" \| "left-end" \| "left-start" \| "right" \| "right-end" \| "right-start" \| "top" \| "top-end" \| "top-start" | 'top' |
target | target | Elemento del DOM al que establecer el tooltip. | Element[] \| NodeList \| string | undefined |
trigger | trigger | Evento con el que se muestra el tooltip. | "click" \| "contextmenu" \| "hover" | 'hover' |
Methods
hideTooltips() => Promise<void>
Returns
Type: Promise<void>
initTooltip(target?: TooltipTarget) => Promise<void>
Parameters
| Name | Type | Description |
|---|---|---|
target | string \| NodeList \| Element[] |
Returns
Type: Promise<void>
Built with StencilJS