Results 1 - 15 of 15

KeyboardEvent()

The KeyboardEvent() constructor creates a new KeyboardEvent.
API Constructor DOM KeyboardEvent Reference

KeyboardEvent.getModifierState()

The KeyboardEvent.getModifierState() method returns the current state of the specified modifier key: true if the modifier is active (that is the modifier key is pressed or locked), otherwise, false.
API DOM getModifierState KeyboardEvent Method Reference

KeyboardEvent.repeat

The KeyboardEvent.repeat read-only property returns a Boolean that is true if the key is being held down such that it is automatically repeating.
API DOM KeyboardEvent Property Read-only Reference

KeyboardEvent.altKey

The KeyboardEvent.altKey read-only property is a Boolean indicates if the alt key (Option or on OS X) was pressed (true) or not (false) when the event occured.
API DOM KeyboardEvent Property Read-only Reference Référence

KeyboardEvent.code

The KeyboardEvent.code property represents a physical key on the keyboard (as opposed to the character generated by pressing the key). In other words, this property returns a value which isn't altered by keyboard layout or the state of the modifier keys.
API Code DOM Events KeyboardEvent Property Read-only Reference

KeyboardEvent.ctrlKey

The KeyboardEvent.ctrlKey read-only property returns a Boolean that indicates if the control key was pressed (true) or not (false) when the event occured.
API DOM KeyboardEvent Property Read-only Reference Référence

KeyboardEvent.isComposing

The KeyboardEvent.isComposing read-only property returns a Boolean value indicating if the event is fired after compositionstart and before compositionend.
API DOM KeyboardEvent Property Read-only Reference Référence

KeyboardEvent.location

The KeyboardEvent.location read-only property returns an unsigned long representing the location of the key on the keyboard or other input device
API DOM KeyboardEvent Property Read-only Reference Référence

KeyboardEvent.shiftKey

The KeyboardEvent.shiftKey read-only property indicates if the shift key was pressed (true) or not (false) when the event occurred.
API DOM KeyboardEvent Property Read-only Reference Référence