:class 클래스바인드

박영은·2022년 4월 8일
0

보통 아래처럼 active 등 ui 변경 연결할 때 설정.

= activeList가 '전체'일 때 active라는 class 실행
activeList의 비어있는 기본 값

click함수 설정, click했을 때 ativeList = cate로 값이 들어감.

profile
Front-end

0개의 댓글