compatible tool for dispatchEvent()
npm install dispatch-event-by-name
npm install dispatch-event-by-name
`Usage & Api
`javascript
var dispatch_event_by_name = require("dispatch-event-by-name");_ele('divResult3').innerHTML = 'aaa';
_ele('divResult3').firstChild.onclick = function () { done(false); };
//dispatchEventByName(el, eventName [, options] )
//options:{ bubbles, cancelable, composed, delay } | bubbles | delay
dispatch_event_by_name(_ele('divResult3').firstChild, "click", 500); //number for delay
``