Keyboard: phương thức unlock()
Khả dụng hạn chế
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Phương thức unlock() của giao diện Keyboard mở khóa tất cả các phím được chụp bởi phương thức Keyboard.lock() và trả về đồng bộ.
Cú pháp
js
unlock()
Tham số
Không có.
Giá trị trả về
Không có (undefined).
Thông số kỹ thuật
| Thông số kỹ thuật |
|---|
| Keyboard Lock> # h-keyboard-unlock> |