dist/commonjs/common/events.js
function fireMaterializeEvent(element, name, data) {
    if (data === void 0) { data = {}; }
    return fireEvent(element, "" + constants_1.constants.eventPrefix + name, data);
}
function fireMaterializeEvent(element, name, data) {
    if (data === void 0) { data = {}; }
    return fireEvent(element, "" + constants_1.constants.eventPrefix + name, data);
}
function fireMaterializeEvent ( element , name , data ) { if ( data === void 0 ) { data = { } ; } return fireEvent ( element , "" + constants_1 . constants . eventPrefix + name , data ) ; }
Fire DOM event on an element with the md-on prefix
@param element The Element which the DOM event will be fired on
@param name The Event's name, without md-on prefix
@param data Addition data to attach to an event
Fire DOM event on an element with the md - on prefix