- Downloaded
- 0 bytes
- Uploaded
- 512 MB
- Ratio
- -
- Seedbonus
- 0
- Upload Count
- 0 (0)
- Joined
- Feb 15, 2024
- Messages
- 1,919
- Reaction score
- 0
- Points
- 1
The element parameter has the following JSDoc:
JavaScript:
But the target for an event can be not only
The parameter type must be
Continue reading...
JavaScript:
@param {Element} element - The Element on which to attach the event.
But the target for an event can be not only
Element
, so for other objects we can see a warning:The parameter type must be
EventTarget
.Continue reading...