Timeline for How to call multiple functions from "change" attribute in Lightning Component?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 7, 2019 at 23:12 | comment | added | Krishna Bidwai | @Raj_SFDC let us know if this was helpful to you. | |
Jun 3, 2019 at 21:10 | comment | added | Matthew Souther | Option 1: Use the reverse of Krishna's approach and call saveFunction from calculateOpptyValue. Option 2: Put functions you want to reuse in the helper, and use the controller exclusively for handling events. | |
Aug 21, 2018 at 1:24 | comment | added | Caspar Harmer | Or use two handlers | |
Oct 3, 2016 at 14:14 | comment | added | Krishna Bidwai | You can handle that using some boolean variable as when to call the function. | |
Oct 3, 2016 at 13:59 | comment | added | Raj_SFDC | My question is different here, i am using same c.savefunction for multiple components , but i want c.calculateOpptyValue for only one component. so as per your logic it call for all components events wherever i used autosave function, rather than i need use calculateOpptyValue function only one component along with savefunction. | |
Oct 3, 2016 at 13:52 | history | answered | Krishna Bidwai | CC BY-SA 3.0 |