Activity Forums Salesforce® Discussions $A namespace in javascript controller lightning cmp in Salesforce?

  • $A namespace in javascript controller lightning cmp in Salesforce?

    Posted by Anuj on April 27, 2020 at 12:59 pm

    What is mean by $A namespace in javascript controller lightning cmp in Salesforce?

    Anjali replied 4 years, 7 months ago 3 Members · 2 Replies
  • 2 Replies
  • Deepak

    Member
    April 27, 2020 at 1:45 pm

    The $A namespace is the entry point for using the framework in JavaScript code.
    For all the methods available in $A, see the JavaScript API at https://<myDomain&gt;.lightning.force.com/auradocs/reference.app, where <myDomain> is the name of your custom Salesforce domain.
    A component bundle can contain JavaScript code in a client-side controller, helper, or renderer. Client-side controllers are the most commonly used of these JavaScript resources.

  • Anjali

    Member
    April 27, 2020 at 1:48 pm

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

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos