Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CmpButton.cmp
- <aura:attribute name="press" type="????">
- <ui:button press="???" />
- SomeComponent.cmp
- <c:CmpButton press="{c.someComponentMethod}" />
- SomeComponent.js
- someComponentMethod: function(component,event,helper){
- // action on SomeComponent
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement