phase- Type: string
- The event phase where the handler is invoked. This should be set to the value
capturingto indicate during the event capturing phase ortargetto indicate at the target element or left out entirely for the bubbling phase.
phasecapturing to indicate during the event capturing phase or target to indicate at the target element or left out entirely for the bubbling phase.