While the explanation of useCapture reads:
- Registers an event listener, depending on the
useCaptureparameter, on the capture phase of the DOM event flow or its target and bubbling phases.
useCaptureindicates that the user wishes to add the event listener for the capture and target phases only, i.e., this event listener will not be triggered during the bubbling phase. If
false, the event listener must only be triggered during the target and bubbling phases.