Navigator: locks-Eigenschaft

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2022.

Sicherer Kontext: Diese Funktion ist nur in sicheren Kontexten (HTTPS) in einigen oder allen unterstützenden Browsern verfügbar.

Die locks-Schreibeigenschaft des Navigator-Interfaces gibt ein LockManager-Objekt zurück, das Methoden zum Anfordern eines neuen Lock-Objekts und zum Abfragen eines bestehenden Lock-Objekts bereitstellt.

Wert

Ein LockManager-Objekt.

Spezifikationen

Specification
Web Locks API
# dom-navigatorlocks-locks

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
Node.js
locks

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support