Jik-ji API for Javacript
- window.$this 속성
- (api 객체).document 속성
- (api 객체).children() 메서드
- (api 객체).childrenAll() 메서드var buttonAPI = window.$this.children('버튼 아이디');
buttonAPI.on('click', function(){
var targetAPI= window.$this.children('target 아이디');
targetAPI.toggleVisible();
});JJ-API로 해결할 수 있다면 DOM 객체를 직접 조작하지 않고 API 사용을 먼저 고려해 봅니다.API 사용할 때 주의할 점
DOM 객체를 직접 조작할때 API 동작 동기화
Last updated