src/main/javascript/dom/floatz.dom.dom.js
/**
     * Trigger event.
     *
     * @param element Element
     * @param event Event name or event
     * @return {boolean} true for canceled, false if event has not been cancelled
     */
Trigger event.
@param element Element
@param event Event name or event
@return {boolean} true for canceled, false if event has not been cancelled
Trigger event . @param element Element @param event Event name or event @return { boolean } true for canceled false if event has not been cancelled
static dispatchEvent(element, event) {
        let eventName = event instanceof Event ? event.type : event;
        return element.dispatchEvent(event instanceof Event ? event : DOM.createEvent(event));
    }
static dispatchEvent ( element , event ) { let eventName = event instanceof Event ? event . type : event ; return element . dispatchEvent ( event instanceof Event ? event : DOM . createEvent ( event ) ) ; }
Trigger event.
Trigger event .
// console.debug(LOG_PREFIX + "Dispatching event " + eventName);