Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
b9444d00
Commit
b9444d00
authored
Mar 02, 2024
by
Timothy J. Baek
Browse files
Update Tooltip.svelte
parent
0bc3e0a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/lib/components/common/Tooltip.svelte
src/lib/components/common/Tooltip.svelte
+3
-1
No files found.
src/lib/components/common/Tooltip.svelte
View file @
b9444d00
...
...
@@ -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
});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment