Monday, August 15, 2022
No menu items!
spot_img
HomeSalesForceCross Component Communication with Custom Events | Developer Quick Takes
spot_img

Cross Component Communication with Custom Events | Developer Quick Takes

In this Quick Take, we will learn how to take Custom Events and apply them to a common use case. We’re first going to take a look at how to create an event and dispatch it from one component. Then we will learn how to subscribe to an event and pass the body into a method for use.

Check out part 2 here: https://youtu.be/fm8RZ9DYVxg

Quick Take – Lightning Message Service in LWC and Aura: https://www.youtube.com/watch?v=TiTze4Qh4hc

Check out the code on GitHub: https://github.com/schandlergarcia/lwc-custom-events

Take the “Learn to work with Javascript” Trail on Trailhead: https://trailhead.salesforce.com/en/content/learn/trails/learn-to-work-with-javascript

Learn more about Custom Events: https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events

Connect with Salesforce Developers:
Website: https://www.developer.salesforce.com/
Facebook: https://www.facebook.com/salesforcedevs/
Twitter: https://www.twitter.com/salesforcedevs
LinkedIn: https://www.linkedin.com/showcase/salesforce-developers

Track: BeatFort – Rampant Sunrise
Music provided by Ninety9Lives
Stream / Free Download: 99l.tv/rampantsunriseYU

RELATED ARTICLES

8 COMMENTS

- Advertisment -spot_img

Most Popular