geno/wp-content/plugins/elementor/assets/js/alert.c3c6a3fdf4745bd26b7f.bundle.js

43 lines
1.1 KiB
JavaScript
Raw Normal View History

2024-02-01 17:24:18 +05:30
/*! elementor - v3.18.0 - 20-12-2023 */
"use strict";
(self["webpackChunkelementor"] = self["webpackChunkelementor"] || []).push([["alert"],{
/***/ "../assets/dev/js/frontend/handlers/alert.js":
/*!***************************************************!*\
!*** ../assets/dev/js/frontend/handlers/alert.js ***!
\***************************************************/
/***/ ((__unused_webpack_module, exports) => {
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
class Alert extends elementorModules.frontend.handlers.Base {
getDefaultSettings() {
return {
selectors: {
dismissButton: '.elementor-alert-dismiss'
}
};
}
getDefaultElements() {
const selectors = this.getSettings('selectors');
return {
$dismissButton: this.$element.find(selectors.dismissButton)
};
}
bindEvents() {
this.elements.$dismissButton.on('click', this.onDismissButtonClick.bind(this));
}
onDismissButtonClick() {
this.$element.fadeOut();
}
}
exports["default"] = Alert;
/***/ })
}]);
//# sourceMappingURL=alert.c3c6a3fdf4745bd26b7f.bundle.js.map