페이지 스크롤의 컨텐츠에 애니메이션을 적용하는 JavaScript 라이브러리.
https://mamunhpath.github.io/josh.js/
https://github.com/mamunhpath/josh.js
<div
class="element josh-js"
data-josh-anim-name="lightSpeedInRight"
data-josh-duration="1500ms"
data-josh-anim-delay="3.5s"
data-josh-iteration="infinite"
>
Written on ES6
</div>
const josh = new Josh({
// DOM CSS class to Animate, default is "josh-js"
initClass: "josh-js",
// Animation CSS class from Animate.css library
animClass: "animate__animated",
// Element distance of viewport to triggering the animation. default is 0.2 means 20% of element view animation will trigger
offset: 0.2,
// Animation will trigger on Mobile or not. Default is true
animateInMobile: true,
// Animation will trigger on newly added element or not. Default is false
onDOMChange: false,
});
등록된 댓글이 없습니다.