How to pass a parent components function into a child and then call it from inside the child AngularJS
Function on parent markAchievement() { console.log("Achievement marked") } Binding on the parent’s HTML <mark-goal-button clickEvent="$ctrl.markAchievement()"></mark-goal-button> Child’s bindings export const markGoalButtonComponentDefinition
Continue reading
Recent Comments