You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
597 B
6 lines
597 B
/*!
|
|
* dashmix - v5.6.0
|
|
* @author pixelcave - https://pixelcave.com
|
|
* Copyright (c) 2023
|
|
*/
|
|
!function(){class t{static animationsToggle(){let t,a;document.querySelectorAll(".js-animation-section button").forEach((i=>{i.addEventListener("click",(s=>{t=i.dataset.animationClass,a=i.closest(".js-animation-section"),a.querySelector(".js-animation-preview").textContent=t;let n=a.querySelector(".js-animation-object");n.classList="",n.classList.add("js-animation-object"),n.classList.add("animated"),n.classList.add(t)}))}))}static init(){this.animationsToggle()}}Dashmix.onLoad((()=>t.init()))}();
|