mirror of
https://github.com/open-webui/open-webui.git
synced 2025-08-25 21:30:39 +02:00
Update Tooltip.svelte
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
export let placement = 'top';
|
||||
export let content = `I'm a tooltip!`;
|
||||
export let touch = true;
|
||||
|
||||
let tooltipElement;
|
||||
let tooltipInstance;
|
||||
@@ -15,7 +16,8 @@
|
||||
tooltipInstance = tippy(tooltipElement, {
|
||||
content: content,
|
||||
placement: placement,
|
||||
allowHTML: true
|
||||
allowHTML: true,
|
||||
touch: touch
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user