https://blog.csdn.net/qq_46048008/article/details/126172744

https://www.w3school.com.cn/jsref/event_key_location.asp

KeyboardEvent.location

0. DOM_KEY_LOCATION_STANDARD

1. DOM_KEY_LOCATION_LEFT

2. DOM_KEY_LOCATION_RIGHT

3. DOM_KEY_LOCATION_NUMPAD

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐