Skip to content

Instantly share code, notes, and snippets.

@simpluslabs
Created November 19, 2018 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simpluslabs/56a46d6b1dfd6ba339c94e2dbe2e6d8a to your computer and use it in GitHub Desktop.
Save simpluslabs/56a46d6b1dfd6ba339c94e2dbe2e6d8a to your computer and use it in GitHub Desktop.
({
doInit : function(component, event, helper) {
console.log('event firing');
var cmpEvt = component.getEvent("bubbleCaptureEvent");
cmpEvt.fire();
},
handleBubbling : function(component, event, helper) {
console.log('handler bubble in ---source');
},
handleCapture : function(component, event, helper) {
console.log('handler capture in ---source');
},
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment