KeyboardEvent.repeat

跳转到:

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

语法

var repeat = event.repeat;

规范

Specification Status Comment
Document Object Model (DOM) Level 3 Events Specification
KeyboardEvent.repeat
Obsolete Initial definition.

兼容性

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? (Yes) 28 (28) ? ? ?
Feature Android Edge Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? (Yes) 28.0 (28) ? ? ?

文档标签和贡献者

标签: 
此页面的贡献者: maicss
最后编辑者: maicss,