JavaScript API

The JavaScript API lists the publicly accessible methods for each object that you can use in JavaScript code, such as a controller or helper. The $A namespace is the entry point for using the framework in JavaScript code.

  • $A namespace

    The $A namespace is the entry point for using the framework in JavaScript code.

  • Action

    Action contains methods to work with JavaScript actions that you can use to communicate with Apex classes.

  • AuraLocalizationService

    AuraLocalizationService provides methods for formatting and localizing dates. Use $A.localizationService to use the methods in AuraLocalizationService.

  • Component

    Component contains methods to work with components.

  • Event

    Event contains methods to work with events. Use an event to communicate between components.

  • Util

    Util contains utility methods.