There are two type of event in lightning salesforce.
- Component Event
- Application Event
there are two type of attribute apply on the event.
1) Register event: - where we click on the button, we need to add a register event
2) Handler event: - where we set the value, we need to add the handler event
Component event:- it is bounding to child component to parent component only. we can get and set the attribute value from child component to parent parent component.
Applicaiton Event:- it is not bounding child to parent, it will work all over the org. We can get and set the attribute value in all over the org.
Create Lightning Event:-
repCheckboxEvent.evt
repCheckbox.cmp
repCheckboxController.js
childCom.cmp
childComJs.js
To know more live demo source code in Salesforce lightning, Trigger, Visualforce & LWC, Use this link..
What is the event in salesforce?
Reviewed by Admin
on
1:24 AM
Rating:
Thanks For Sharing
ReplyDelete5 Internet Approval Site (Do Follow Backlinks)
Hello friends i want to tell you, this site is very effective..matka
ReplyDeleteThanks for sharing.I found a lot of interesting information here. A really good post..
ReplyDeletebuy Google voice number
Twitter pva accounts
Buy Instagram pva accounts
Buy Facebook pva accounts