uievents library Null safety
- The DOM represents events that occur due to the user indirectly entering text.
The interface represents focus-related events, including
- The interface represents an event notifying the user of editable content changes.
objects describe a user interaction with the keyboard; each
event describes a single interaction between the user and a key
(or combination of a key with modifier keys) on the keyboard. The
event type (
keyup) identifies what kind of keyboard activity occurred.
The interface represents events that occur due to the user
interacting with a pointing device (such as a mouse).
Common events using this interface include
mousedown. derives from UIEvent, which in turn derives from Event. Though the
MouseEvent.initMouseEvent()method is kept for backward compatibility, creating of a object should be done using the MouseEvent() constructor.
- Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
The interface represents simple user interface events.
derives from Event. Although the
UIEvent.initUIEvent()method is kept for backward compatibility, you should create a object using the UIEvent() constructor. Several interfaces are direct or indirect descendants of this one: MouseEvent, TouchEvent, FocusEvent, KeyboardEvent, WheelEvent, InputEvent, and CompositionEvent.
- The interface represents events that occur due to the user moving a mouse wheel or similar input device.