Skip to content

pantoken / formats/interactions/src / initTooltip

Feidhm: initTooltip()

initTooltip(wrapper, tip, options?): TooltipHandle

Ceangail taispeáint/folaigh nuair atá an luch os cionn nó nuair a bhíonn fócas (hover/focus) le moill ar chlúdach tooltip agus ar a ‘tip bubble’. Fillteann sé feidhm ghlantacháin le húsáid i disconnectedCallback chomhpháirte ghréasáin.

CSS: wrapper = eilimint .instui-tooltip, tip = a pháiste .tip WC: wrapper = shadow .instui-tooltip, tip = shadow .tip

Paraiméadair

wrapper

HTMLElement

tip

HTMLElement

options?

TooltipOptions

Tuairisceáin

TooltipHandle