1/** 2 * Init Elements in Elementor Frontend 3 * 4 */ 5;(function($, window, document, undefined){ 6 "use strict"; 7 8 $(window).on('elementor/frontend/init', function (){ 9 // Before after element 10 11 if ( elementorFrontend.isEditMode() ) { 12 13 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux-before-after.default', $.fn.AuxinBeforeAfterInit ); 14 15 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux-gallery.default', $.fn.AuxinTriggerResize ); 16 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux-gallery.default', $.fn.AuxinIsotopeImageLayoutsInit ); 17 18 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_accordion.default', $.fn.AuxinAccordionInit ); 19 20 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_tabs.default', $.fn.AuxinLiveTabsInit ); 21 22 23 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_video.default', function( $scope ){ window.wp.mediaelement.initialize() } ); 24 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_audio.default', function( $scope ){ window.wp.mediaelement.initialize() } ); 25 26 27 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_recent_portfolios_grid.default', 28 function( $scope ){ $.fn.AuxinIsotopeLayoutInit( $('body') ); } 29 ); 30 31 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_recent_portfolios_masonry.default', 32 function( $scope ){ $.fn.AuxinIsotopeLayoutInit( $('body') ); } 33 ); 34 35 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_recent_portfolios_tile.default', 36 function( $scope ){ $.fn.AuxinIsotopeTilesInit( $('body') ); } 37 ); 38 39 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_recent_portfolios_grid_carousel.default', 40 function( $scope ){ $.fn.AuxinCarouselInit( $('body') ); } 41 ); 42 43 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_recent_news_grid.default', 44 function( $scope ){ $.fn.AuxinCarouselInit( $('body') ); } 45 ); 46 47 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_shopping_cart.default', 48 function( $scope ){ 49 $.fn.AuxinDropdownEffectInit( $('body') ); 50 $.fn.AuxinCartCanvasInit( $('body') ); 51 } 52 ); 53 54 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_menu_box.default', 55 function( $scope ){ 56 $scope.find('.aux-master-menu').mastermenu(); 57 $.fn.AuxinMobileMenuInit( $scope ); 58 } 59 ); 60 61 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_image.default', function($scope) { 62 $.fn.AuxinDynamicDropshadowInit($scope); 63 $.fn.AuxinTiltElementInit($scope); 64 }); 65 66 elementorFrontend.hooks.addAction( 'frontend/element_ready/global', 67 function( $scope ) { 68 $.fn.AuxinPageCoverAnimationInit( $scope ); 69 $.fn.AuxinToggleListInit( $scope ); 70 $.fn.AuxinAppearAnimationsInit( $scope ); 71 } 72 ); 73 74 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_search_box.default', function( $scope ) { 75 $.fn.AuxinElementorSearchElement( $scope ); 76 $(window).on( 'resize', function(){ 77 $.fn.AuxinElementorSearchElement( $scope ); 78 }); 79 }); 80 81 elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_products_parallax.default', function( $scope ) { 82 $scope.find('.aux-product-parallax-wrapper').AuxinMasonryAnimate(); 83 $(window).trigger('resize'); 84 }); 85 86 } 87 88 }); 89 90})(jQuery, window, document);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.