1jQuery(window).on("elementor/frontend/init", function () { 2 elementorFrontend.hooks.addAction( 3 "frontend/element_ready/rkit_image_accordion.default", 4 function ($scope, $) { 5 const accl = $scope.find(".item-ia-click"); 6 const wrapper = $scope.find(".gallery-wrap"); 7 const animate = wrapper.data('animate') 8 9 accl.on("click", function () { 10 accl 11 .removeClass("active") 12 .find(".text-title-ia") 13 .removeClass(animate); 14 accl 15 .removeClass("active") 16 .find(".text-description") 17 .removeClass(animate) 18 accl 19 .removeClass("active") 20 .find(".rkit-image-accordion-item-button") 21 .removeClass(animate); 22 23 // Set yang diklik 24 $(this).addClass("active"); 25 $(this).find(".text-title-ia").addClass(animate); 26 $(this).find(".text-description").addClass(animate); 27 $(this) 28 .find(".rkit-image-accordion-item-button") 29 .addClass(""); 30 }); 31 32 const acc = $scope.find(".item-ia-hover"); 33 const dfa = $scope.find(".item-ia-hover.active"); 34 35 acc.on("mouseenter", function () { 36 $(this).addClass("active"); 37 $scope.find(".item-ia-hover").not($(this)).removeClass("active"); 38 // Tambahkan animasi ke child 39 $(this).find(".text-title-ia").addClass(animate); 40 $(this).find(".text-description").addClass(animate); 41 $(this).find(".rkit-image-accordion-item-button").addClass(animate); 42 }); 43 acc.on("mouseleave", function () { 44 $(this).removeClass("active"); 45 $(this).find(".text-title-ia").removeClass(animate); 46 $(this).find(".text-description").removeClass(animate); 47 $(this).find(".rkit-image-accordion-item-button").removeClass(animate); 48 49 dfa.addClass("active"); 50 }); 51 52 // =========== 53 } 54 ); 55 }); 56
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.