mercredi 5 septembre 2018

JavaScript EventListener .on('event:name') syntax explanation [duplicate]

This question already has an answer here:

I'm looking at some code and I see that for event handler they are declaring the event handler like this :

something.on('event:name')...

Is there significance to the : in the event name or is javascript treating that : as part of the string




Aucun commentaire:

Enregistrer un commentaire