true if the alternative (Alt) key modifier is activated.true if the control (Ctrl) key modifier is activated.data holds the value of the characters generated by the
character device.Event.keyIdentifier holds the identifier of the key.keyLocation attribute contains an indication of the
location of they key on the device, as described in .true if the meta (Meta) key modifier is activated.relatedNode's
namespaceURI.relatedNode's
nodeName.true if the shift (Shift) key modifier is activated.initCustomEventNS method is used to initialize the
value of a CustomEvent object and has the same behavior
as Event.initEventNS().initKeyboardEvent method is used to initialize the
value of a KeyboardEvent object and has the same
behavior as UIEvent.initUIEvent().initKeyboardEventNS method is used to initialize the
value of a KeyboardEvent object and has the same
behavior as UIEvent.initUIEventNS().initMutationNameEvent method is used to initialize
the value of a MutationNameEvent object and has the same
behavior as MutationEvent.initMutationEvent().initMutationNameEventNS method is used to initialize
the value of a MutationNameEvent object and has the same
behavior as MutationEvent.initMutationEventNS().initTextEvent method is used to initialize the value
of a TextEvent object and has the same behavior as
UIEvent.initUIEvent().initTextEventNS method is used to initialize the
value of a TextEvent object and has the same behavior as
UIEvent.initUIEventNS().KeyboardEvent interface provides specific contextual
information associated with keyboard devices.MutationNameEvent interface provides specific contextual
information associated with Mutation name event types.TextEvent interface provides specific contextual
information associated with Text Events.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.