The Aura object is the top-level object in the JavaScript framework code. In this section, we will explore some of the utility functions that the Lightning component framework supports. To explore all of the supported JavaScript functions and APIs of the Lightning component framework, refer to the documentation in your Salesforce instance at https://<myDomain>.Lightning.force.com/auradocs/reference.app#reference, where myDomain is the custom domain set for the application.
APIs available in $A top-level functions
Exploring the $A.Util APIs
The following table shows supported Util functions:
Util Class | Description | Example Code |
addClass (Object elementString newClass) |
Adds a CSS class to a component... |