mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
parent
1bdcdd0acc
commit
dd32a7e8ec
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@
|
||||||
if (key === 'Escape') hide();
|
if (key === 'Escape') hide();
|
||||||
}}" />
|
}}" />
|
||||||
|
|
||||||
<div
|
<span
|
||||||
class:bx--tooltip--definition="{true}"
|
class:bx--tooltip--definition="{true}"
|
||||||
class:bx--tooltip--a11y="{true}"
|
class:bx--tooltip--a11y="{true}"
|
||||||
{...$$restProps}
|
{...$$restProps}
|
||||||
|
@ -69,4 +69,4 @@
|
||||||
<div role="tooltip" id="{id}" class:bx--assistive-text="{true}">
|
<div role="tooltip" id="{id}" class:bx--assistive-text="{true}">
|
||||||
<slot name="tooltip">{tooltipText}</slot>
|
<slot name="tooltip">{tooltipText}</slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue