NodeList.on
NodeList.on(evtNames,fn)
evtNamesOne or more space-separated event types
fnA function to execute when the event is triggered
Attach an event handler function for one or more events to each element in NodeList
NodeList.on(evtNames,fn)
evtNamesOne or more space-separated event types
fnA function to execute when the event is triggered
Attach an event handler function for one or more events to each element in NodeList
window.off(evtNames,fn)
evtNamesOne or more space-separated event types
fnA handler function previously attached for the event(s)
Remove an event handler.