강의

멘토링

커뮤니티

인프런 커뮤니티 질문&답변

alvinlog님의 프로필 이미지
alvinlog

작성한 질문수

면접과 취업을 부르는 '퍼블리셔 개인 포트폴리오 홈페이지' 제작

[플러그인 사용방법] 스크롤하면 시작되는 애니메이션 - Wow.js & AOS.js (실습)

wow.js live option

작성

·

423

1

wow.js live option에 관하여 글 남깁니다.

wow.js 공식홈페이지에 "check for new WOW elements"라고 적혀있어서 특정 elem에 wow class를 로딩 이후에 추가하는 경우에도 정상적으로 작동하는 옵션인 것 같습니다.

 

+) 스택오버플로우에 찾아보니 추후 추가하는 wow class를 위한 옵션입니다.

wow.js gets a list of the elements it is working on during its initialisation process. You are adding the classes after it has run so you would have to re-initialise if you wanted it to run over those elements correctly. You probably don't want to re-initialise as this would affect other elements on your page.

You can however, work around this using the live customised setting. If this is set to true, WOW will look for new WOW elements on the page. You will need to create and add your elements on the fly in order to use this option. e.g.

답변 1

0

올리신 글을 늦게 봤습니다.
참고하겠습니다. 감사합니다~!!

alvinlog님의 프로필 이미지
alvinlog

작성한 질문수

질문하기