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