KeyboardEvent.repeat
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
**KeyboardEvent.repeat
**是一个只读属性,返回一个布尔值Boolean
,如果按键被一直按住,返回值为true
。
语法
var repeat = event.repeat;
规范
Specification |
---|
UI Events # dom-keyboardevent-repeat |