Skip to content

Instantly share code, notes, and snippets.

@simpluslabs
Created November 13, 2018 05:20
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/6d9acad4977cfd956ac1b761016edb64 to your computer and use it in GitHub Desktop.
Save simpluslabs/6d9acad4977cfd956ac1b761016edb64 to your computer and use it in GitHub Desktop.
({
doInit : function(component, event, helper) {
console.log('----init ParentComp---');
},
handleClick : function(component, event, helper)
{
console.log('button clicked in ParentComp');
var noOfTimesClicked = component.get("v.noOfTimesClicked");
component.set("v.noOfTimesClicked",noOfTimesClicked+1);
},
handleChange : function(component, event, helper)
{
console.log('inside Change of ParentComp');
},
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment