Coyote Browser / Reference

A fresh HTML5 browser engine for HBBTV and embedded systems

²
  • Home
  • FAQ
  • About

Reference Index > DOM Events

KeyboardEvent

Interface Specification

W3C Logo from https://w3c.github.io/uievents/#idl-keyboardevent
interface KeyboardEvent
{
const unsigned long DOM_KEY_LOCATION_STANDARD = 0x00;
const unsigned long DOM_KEY_LOCATION_LEFT = 0x01;
const unsigned long DOM_KEY_LOCATION_RIGHT = 0x02;
const unsigned long DOM_KEY_LOCATION_NUMPAD = 0x03;
readonly attribute DOMString key;
readonly attribute DOMString code;
readonly attribute unsigned long location;
readonly attribute boolean ctrlKey;
readonly attribute boolean shiftKey;
readonly attribute boolean altKey;
readonly attribute boolean metaKey;
readonly attribute boolean repeat;
readonly attribute boolean isComposing;
boolean getModifierState(DOMString keyArg);
};
};

Implementation status

Number of constants in JS interface: 4/4
Number of attributes in JS interface: 9/9
Number of functions in JS interface: 1/1

FunctionImplementation status
getModifierStateComplete

Browser & Device compatibility

Device typeSupport Status
Desktop PC browsersYes
HBBTV 1.5 devices...
HBBTV 2.0.x devicesYes

Notes

none

This page has been generated automatically from source code by the CoyoteBrowser InfoTool on Tue Jan 05 16:54:08 2021 . Some design elements from MDN are used under CC-BY-SA license from "Mozilla Contributors".