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