NodeList

NodeList

# new NodeList()

Methods

# (static) on(eventname, callback) → {NodeList}

Short hand jQuery-Like on() function to add event listeners to a list of objects
Parameters:
Name Type Description
eventname string
callback CallableFunction
Returns:
the list of objects
Type
NodeList
Example
j.queryAll("input").on('change', () => doSomething()); // adds an event callback for the change-event on all input-fields