Lightning Events and Methods: A Guide to Component Communication
Lightning Events and Methods: A Guide to Component Communication
Building a component that works internally: easy. Building a component that works well with other components: slightly more difficult. The Lightning Component framework provides various methods for facilitating component interaction such as events, binding attributes, and aura methods. The trick is to learn when each is appropriate and when it doesn't make sense. We'll take a look at several situations ranging from a simple lookup component to a complex configurator, to understand how and when to use these tools.