1.0.5 • Published 4 months ago

@atmgrupomaggioli/iris-tooltip v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

iris-tooltip

Properties

PropertyAttributeDescriptionTypeDefault
ctxmenuctxmenuEspecifica que se trata de un contextmenu.booleanfalse
hideArrowhide-arrowOculta la flecha del tooltip.booleanfalse
interactiveinteractiveVerifica si tiene contenido interactivo para poder interactuar con él sin que se oculte.booleanfalse
noInitno-initNo inicia automáticamente el tooltip automáticamente.booleanfalse
placementplacementPosició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'
targettargetElemento del DOM al que establecer el tooltip.Element[] \| NodeList \| stringundefined
triggertriggerEvento 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

NameTypeDescription
targetstring \| NodeList \| Element[]

Returns

Type: Promise<void>


Built with StencilJS