250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- tailwindcss
- nextJS
- SSR
- graphQL
- REACT
- error
- API
- Props
- concept
- 기준
- useState
- JavaScript
- web
- Interface
- bitcoin
- CLASS
- hardhat
- solidity
- evm
- CSS
- node.js
- typeScript
- Redux
- 삶
- built in object
- HTML
- express.js
- middleware
- Ethereum
- blockchain
Archives
- Today
- Total
목록delegation (1)
ReasonJun
javascript : event (delegation, event bubbling)
delegation // event delegation // If you need to handle events on multiple elements in a similar pattern, // You can use the event delegation pattern, controlled by a single ancestor element. const parentEl = document.querySelector('.parent'); const childEls = document.querySelectorAll('.child'); // Event registration for all targets! childEls.forEach((el) => { el.addEventListener('click', (even..
Frontend/Javasciprt
2023. 6. 8. 18:37