Newer Version Available
Lightning Locker API Viewer
The Lightning Locker API Viewer shows the DOM APIs exposed by Locker versus
the standard DOM APIs for the most complex wrappers: SecureDocument, SecureElement, and SecureWindow.
Access the API Viewer in the Component Library.
The API Viewer lets you quickly see the difference between the standard DOM APIs and the Locker APIs.
- A white row indicates an API that behaves the same in Lightning Locker.
- An orange row indicates an API that behaves differently in Lightning Locker.
- A red row means that the API isn’t supported in 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 to check JavaScript code’s compatibility with Lightning Locker.
Reference Doc App
The reference doc app lists the API for SecureComponent under .
SecureAura is the wrapper for $A.
Access the reference doc app at:
https://<myDomain>.lightning.force.com/auradocs/reference.app, where <myDomain> is the name of your custom Salesforce domain.