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