ElementorPro/assets/js/code-highlight.8b676d9a001f56fb77fa.bundle.js
2024-07-07 01:00:30 +02:00

32 lines
1022 B
JavaScript

/*! elementor-pro - v3.21.0 - 30-04-2024 */
"use strict";
(self["webpackChunkelementor_pro"] = self["webpackChunkelementor_pro"] || []).push([["code-highlight"],{
/***/ "../modules/code-highlight/assets/js/frontend/handler.js":
/*!***************************************************************!*\
!*** ../modules/code-highlight/assets/js/frontend/handler.js ***!
\***************************************************************/
/***/ ((__unused_webpack_module, exports) => {
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
class codeHighlightHandler extends elementorModules.frontend.handlers.Base {
onInit() {
super.onInit(...arguments);
Prism.highlightAllUnder(this.$element[0], false);
}
onElementChange() {
// Handle the changes for "Word Wrap" feature
Prism.highlightAllUnder(this.$element[0], false);
}
}
exports["default"] = codeHighlightHandler;
/***/ })
}]);
//# sourceMappingURL=code-highlight.8b676d9a001f56fb77fa.bundle.js.map