mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 09:54:24 +04:00
Update tabler.js
Small editing for tooltip
This commit is contained in:
@@ -23,8 +23,8 @@ import './dropdown';
|
|||||||
popoverTriggerList.map(function (popoverTriggerEl) {
|
popoverTriggerList.map(function (popoverTriggerEl) {
|
||||||
let options = {
|
let options = {
|
||||||
delay: {show: 50, hide: 50},
|
delay: {show: 50, hide: 50},
|
||||||
html: true,
|
html: tooltipTriggerEl.getAttribute('data-bs-html') ?? false,
|
||||||
placement: 'auto'
|
placement: tooltipTriggerEl.getAttribute('data-bs-placement') ?? 'auto'
|
||||||
};
|
};
|
||||||
return new bootstrap.Popover(popoverTriggerEl, options);
|
return new bootstrap.Popover(popoverTriggerEl, options);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user