Callback Functions in Aurelia Using .call - I Like Kill Nerds

added by JavaScript Kicks
12/12/2019 1:53:55 PM

283 Views

Aurelia's robust binding system allows you to not only bind values into your custom attributes and elements, but also the ability to pass in callback functions as well. While your first instinct might be to try using <my-element callback.bind="myFunction" you will quickly realise that this will not work because of scoping issues.


0 comments