8 - Events & Event Listeners

August 7, 2018 comments 120 Reads

Through the use of the on(), once(), off() and trigger() methods in the Dom7 Library (part of Framework7), you are able to manage event listeners within your JavaScript code.
As the method names suggest, Dom7 allows you to add, add once, remove and trigger event listeners on your HTML Elements. It also makes it super easy to create delegated events and add multiple event listeners through a single method call.
Support me on Patreon:
https://www.patreon.com/dcode – with enough funding I plan to develop a website of some sort with a new developer experience!
For your reference, check this out:
https://framework7.io/docs/dom7.html
Follow me on Twitter @dcode!
If this video helped you out and you’d like to see more, make sure to leave a like and subscribe to dcode!