The requested page is not available for the requested platform. You are viewing the content for Default platform.

KeyboardEventArgs Class

Provides data for events that occur when a key is pressed or released while the Rich Text Editor's document has focus.

Declaration

export class KeyboardEventArgs extends EventArgs

Inheritance

EventArgs
KeyboardEventArgs

Properties

handled Property

Specifies whether the event is handled.

Declaration

handled: boolean

Property Value

Type Description
boolean

true, if the event is handled and further processing is not required; otherwise false.

htmlEvent Property

Gets a DHTML event object that relates to the processed event.

Declaration

htmlEvent: KeyboardEvent

Property Value

Type Description
KeyboardEvent

An object that maintains DHTML event-specific information.

Remarks

Use the htmlEvent property to access an object that contains DHTML event information (such as the HTML element in which the event occurred, the state of the keyboard keys, the location of the mouse, the state of the mouse buttons, etc.).