Namespace for click event solution with JavaScript

1.1k views Asked by At

How to write this jQuery code

$(selector).on('click.custom-namespace', function () {...});

into vanilla JavaScript solution? addEventListener don't get events with custom namespace.

Thanks

0

There are 0 answers