Lightning Locker API Viewer Overview

Locker API Viewer shows Lightning Locker’s support of the standard DOM APIs in the Window, Document, and Element objects. The SecureWindow, SecureDocument, and SecureElement wrappers prevent use of APIs that are labeled Not Supported.

Locker API Viewer is available in the Tools area of the DX Developer Center and the LWC Developer Center.

Lightning Locker API Viewer UI with list of APIs supported by SecureDocument.

Locker API Viewer lets you quickly see which standard DOM APIs are supported by Lightning Locker.

There are several ways to validate your code to ensure compatibility with Aura component APIs. For more information, see Validations for Aura Component Code.

Use the Locker Console tool to check JavaScript code’s compatibility with Lightning Locker.

See Also

Release Preview

This release is in preview. Features described here don't become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can't guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.