| Package | Description | 
|---|---|
| org.w3c.dom.events | 
| Modifier and Type | Method and Description | 
|---|---|
| void | EventTarget. addEventListener(String type,
                EventListener listener,
                boolean useCapture)This method allows the registration of event listeners on the event
 target. | 
| void | EventTarget. removeEventListener(String type,
                   EventListener listener,
                   boolean useCapture)This method allows the removal of event listeners from the event
 target. | 
 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
 Copyright © 2005, 2025, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.