auto-events
Version:
Small Vanilla JS utility for binding events between DOMNode and a simple controller.
11 lines (9 loc) • 328 B
JavaScript
/**
* # autoEvents initialisation checks
*
* - detect when selected node(s) has no data-ev-*
* - detect when there is data-ev-* that has a call to a missing methods
* - detect when there is data-ev-[*] with unrecognized event's type
* - detect when two controllers assign methods to same node(s)
*/
module.exports = {};