ECMA Script
• Features built into JavaScript (“intrinsic” features)
• Published, supported features built into the Aura Components programming model.
• Published, supported features built into Lightning Locker SecureObject objects
• ECMAScript specification
• Annex B: Additional ECMAScript Features for Web Browsers
• Intrinsic Objects (JavaScript)
force:lightning:lint ==> to scan code on bundle for java script & aura comps
Lightning App Builder, Community Builder, or
Flow Builder
Lightning Component Actions
Lightning component actions are custom actions that invoke a Lightning component. They support
Apex and JavaScript and provide a secure way to build client-side custom functionality. Lightning
component actions are supported only in the Salesforce mobile app and Lightning Experience.
Configure Components for Record-Specific Actions
Add the force:hasRecordId interface to an Aura component to enable the component to be assigned the ID of the current
record. The current record ID is useful if the component is used on a Lightning record page, as an object-specific custom action or
action override in Lightning Experience or the Salesforce app, and so on.
how to get user detail in lightning component==>
Use $A.get() to retrieve static labels in JavaScript code.
e.force:showToast
18072019
circleCLI:
codacy
29072019
Lightning Use Cases:
- Convert Java Script button logic to lightning component via quick action.
- Standard button override - lightning component
Override a Standard Action with a Lightning Component
Navigate to a Record’s Create Page with Default Field Values
https://releasenotes.docs.salesforce.com/en-us/spring20/release-notes/rn_general_lex_navigate_to_record_dfv.htm
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.