Right now, I'm using jQuery to find elements and attach event listeners. I don't want to use jQuery anymore.
this.$('.my-class').off().on({
mouseenter : this.handleMouseOverEvent.bind(this),
mouseleave : this.handelMouseLeaveEvent.bind(this),
click : this.handelMouseLeaveEvent.bind(this),
});
How can I attach event-listeners just with plain Javascript?