Newer Version Available

This content describes an older version of this product. View Latest

Lightning Locker API Viewer

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 Lightning Component Library.

Locker API Viewer sample page showing 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.

Reference Doc App

The reference doc app lists the API for SecureComponent under JavaScript API | Component.

SecureAura is the wrapper for $A.

Access the reference doc app at:

https://MyDomainName.lightning.force.com/auradocs/reference.app..