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 |
31 |
Tags
- object
- Promise
- 스크롤
- 객체
- 모듈
- ES6
- animation
- 비동기
- Push
- slice
- This
- 이벤트
- array
- Flex
- 이벤트 위임
- 애니메이션
- 배열
- map
- video
- scroll
- event
- 문자열
- ios
- 이벤트 루프
- IntersectionObserver
- input
- json
- 클로저
- ajax
- dom
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