src/selectivity.js
function(eventName, data) {
        var event = document.createEvent('Event');
        event.initEvent(eventName, /* bubbles: */ false, /* cancelable: */ true);
        assign(event, data);
        this.el.dispatchEvent(event);
        return !event.defaultPrevented;
    }
function(eventName, data) {
        var event = document.createEvent('Event');
        event.initEvent(eventName, /* bubbles: */ false, /* cancelable: */ true);
        assign(event, data);
        this.el.dispatchEvent(event);
        return !event.defaultPrevented;
    }
function ( eventName , data ) { var event = document . createEvent ( 'Event' ) ; event . initEvent ( eventName , /* bubbles: */ false , /* cancelable: */ true ) ; assign ( event , data ) ; this . el . dispatchEvent ( event ) ; return ! event . defaultPrevented ; }
Triggers an event on the instance's element.

@param eventName Name of the event to trigger.
@param data Optional event data to be added to the event object.

@return Whether the default action of the event may be executed, ie. returns false if
preventDefault() has been called.
Triggers an event on the instance s element .