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
- useState
- tailwindcss
- CSS
- built in object
- Interface
- node.js
- 삶
- API
- CLASS
- graphQL
- middleware
- express.js
- SSR
- JavaScript
- evm
- typeScript
- HTML
- hardhat
- bitcoin
- Ethereum
- REACT
- Redux
- Props
- blockchain
- solidity
- 기준
- web
- error
- nextJS
- concept
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