KeyboardEvent.repeat
io error: No such file or directory (os error 2) (/home/runner/work/yari/yari/mdn/translated-content/files/zh-cn/web/api/ui_events/index.md)
**KeyboardEvent.repeat
**是一个只读属性,返回一个布尔值Boolean
,如果按键被一直按住,返回值为true
。
语法
var repeat = event.repeat;
规范
Specification |
---|
UI Events # dom-keyboardevent-repeat |
浏览器兼容性
BCD tables only load in the browser