Contents
What are the usage of lightning components?
Lightning components are used as new Salesforce user interface framework for developing dynamic web applications for desktop and mobile devices. In this component JavaScript at the client-side and at the server-side is used in Apex to provide the data and business logic.
Where we can use Aura component?
Use Lightning Out to run Aura component apps outside of Salesforce servers. Whether it’s a Node. js app running on Heroku, a department server inside the firewall, or even SharePoint, build your custom app with Lightning Platform and run it wherever your users are.
What is bounded and unbound in lightning component?
When you use a bound expression, a change in the attribute in the parent or child component triggers the change handler in both components. When you use an unbound expression, the change is not propagated between components so the change handler is only triggered in the component that contains the changed attribute.
What is bound expression in lightning?
Bound Expression: Bound Expression is represented as {! v. str}. Whenever the value of the string is changed, this expression will reflect the change and also affect the components where it is used, we can say the value change dynamically through this expression.
How to use aura components in flow builder?
Then in Flow Builder, add a screen component to the screen. To execute client-side logic in your flow, build or modify custom Aura components to use as local actions in flows. For example, get data from third-party systems without going through the Salesforce server, or open a URL in another browser tab.
How does the campinglist component in aura work?
Persist your records to the database using a server-side controller. The campingList component loads existing records when it starts up and saves records to the database when the form is submitted. Create a CampingListController Apex class with a getItems method and saveItem method.
How to create a packing list in aura?
Create a Packing List Item Component 1 Create a component called campingListItem. 2 Add an attribute named item of type Camping_Item__c that is required. 3 Display Name, Price, Quantity, Packed using an expression. 4 Display Price and Quantity using the appropriate formatted number fields. 5 Display Packed status using a toggle.
How to add items to database in aura component?
Add a doInit initialization handler that loads existing records from the database when the component starts up. Modify the JavaScript controller to use a createItem method in the helper to save records to the database from a valid form submission. The new items are added to the controller’s items value provider.