Newer Version Available
JavaScript API for Secure Wrappers
LockerService API Viewer
The LockerService API Viewer shows the DOM APIs exposed by LockerService versus the standard DOM APIs. The API Viewer app lists the API for SecureDocument, SecureElement, and SecureWindow.
The API Viewer lets you quickly see the difference between the standard DOM APIs and the LockerService APIs.
- An orange row indicates an API that behaves differently in LockerService.
- A red row means the API isn’t supported in LockerService.
There are several ways to validate your code to ensure compatibility with Lightning component APIs. For more information, see Validations for Lightning Component Code.
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.