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