mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-24 03:15:21 +02:00
18 lines
605 B
JavaScript
18 lines
605 B
JavaScript
|
/* global coreui */
|
||
|
|
||
|
/**
|
||
|
* --------------------------------------------------------------------------
|
||
|
* CoreUI Free Boostrap Admin Template (v4.2.2): popovers.js
|
||
|
* Licensed under MIT (https://coreui.io/license)
|
||
|
* --------------------------------------------------------------------------
|
||
|
*/
|
||
|
|
||
|
const toastTrigger = document.getElementById('liveToastBtn');
|
||
|
const toastLiveExample = document.getElementById('liveToast');
|
||
|
if (toastTrigger) {
|
||
|
toastTrigger.addEventListener('click', () => {
|
||
|
const toast = new coreui.Toast(toastLiveExample);
|
||
|
toast.show();
|
||
|
});
|
||
|
}
|
||
|
//# sourceMappingURL=toasts.js.map
|