KeyboardEvent.repeat

**KeyboardEvent.repeat**是一个只读属性,返回一个布尔值Boolean,如果按键被一直按住,返回值为true

语法

var repeat = event.repeat;

规范

Specification
UI Events
# dom-keyboardevent-repeat

浏览器兼容性

BCD tables only load in the browser