2023-03-13 15:20:59 +03:00
|
|
|
/**
|
|
|
|
* Initial Bootstrap Tooltip.
|
|
|
|
*/
|
|
|
|
export function loadTooptip() {
|
2023-04-10 05:54:27 +03:00
|
|
|
const tooltipTriggerList = document.querySelectorAll(
|
|
|
|
'[data-bs-toggle="tooltip"]'
|
|
|
|
);
|
|
|
|
|
|
|
|
[...tooltipTriggerList].map(
|
|
|
|
(tooltipTriggerEl) => new bootstrap.Tooltip(tooltipTriggerEl)
|
|
|
|
);
|
2023-03-13 15:20:59 +03:00
|
|
|
}
|