PluginProbe
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder / 51.1.78
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder v51.1.78
51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 51.1.45 51.1.46 51.1.47 51.1.49 All 37 releases
king-addons / includes / widgets / Woo_My_Account_Navigation / script.js

script.js in King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder 51.1.78, at includes/widgets/Woo_My_Account_Navigation/script.js

34 lines 689 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Woo My Account Navigation widget behavior.
3 *
4 * Navigation behavior is handled by WooCommerce. This script provides an
5 * Elementor hook to ensure correct initialization in the editor.
6 */
7 (function ($) {
8 "use strict";
9
10 /**
11 * Initialize widget instance.
12 *
13 * @param {Object} $scope Elementor scope.
14 * @returns {void}
15 */
16 const initWooMyAccountNavigation = ($scope) => {
17 void $scope;
18 };
19
20 $(window).on("elementor/frontend/init", function () {
21 elementorFrontend.hooks.addAction(
22 "frontend/element_ready/woo_my_account_navigation.default",
23 function ($scope) {
24 initWooMyAccountNavigation($scope);
25 }
26 );
27 });
28 })(jQuery);
29
30
31
32
33
34