Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- event
- 애니메이션
- 스크롤
- slice
- 이벤트 위임
- Flex
- IntersectionObserver
- 객체
- 모듈
- Push
- json
- This
- ES6
- dom
- 클로저
- scroll
- object
- 비동기
- 이벤트 루프
- array
- 문자열
- map
- 이벤트
- input
- ios
- Promise
- animation
- video
- ajax
- 배열
Archives
- Today
- Total
FEDev Story
Element.matches 본문
https://goodmemory.tistory.com/117
[Javascript] CSS Selector를 통해 엘리먼트 구분하기 Element.matches()
[자바스크립트 / Javascript] CSS Selector를 통해 엘리먼트 구분하기 Element.matches() 기본 형태 //CSS Selector를 통해 엘리먼트 구분하기 //해당 엘리먼트와 셀렉터가 같다면 true | 다르다면 false 반환 el..
goodmemory.tistory.com
https://developer.mozilla.org/en-US/docs/Web/API/Element/matches
Element.matches() - Web APIs | MDN
The matches() method checks to see if the Element would be selected by the provided selectorString -- in other words -- checks if the element "is" the selector.
developer.mozilla.org
'Javascript > DOM' 카테고리의 다른 글
Document.importNode (0) | 2018.04.05 |
---|---|
속성과 프로퍼티 (0) | 2017.11.06 |
DOM 스타일링 (0) | 2017.11.02 |
DOM 변경 (0) | 2017.11.01 |
DOM 탐색 (0) | 2017.10.24 |
Comments