Activity › Forums › Salesforce® Discussions › What is the use of @AuraEnabled annotation in Salesforce Apex?
-
What is the use of @AuraEnabled annotation in Salesforce Apex?
Posted by Arun on January 29, 2020 at 2:56 PMWhat is the use of @AuraEnabled annotation in Salesforce Apex?
Ayush replied 6 years, 3 months ago 5 Members · 4 Replies -
4 Replies
-
@AuraEnabled : It enables client and server side access to an apex controller method. This annotation exposes an apex method to the Aura framework for use in lightning components.
- [adinserter block='9']
-
We use AuraEnabled Annotation in Salesforce so that particular method is available for the Lightning component in Salesforce.
-
@AuraEnabled annotation enables Lightning components to access Apex methods and properties.In other words it provides support for Apex methods and properties to be used with the Lightning Component framework.
-
This annotation exposes an apex method to the Aura framework for use in lightning components.
Log In to reply.