app-decorators-todomvc
Version:
Todomvc with app-decorators
25 lines (19 loc) • 796 B
JavaScript
System.register(["app-decorators/src/libs/element-to-function"], function (_export, _context) {
"use strict";
var _elementToFunc, trigger, forEach;
return {
setters: [function (_appDecoratorsSrcLibsElementToFunction) {
_elementToFunc = _appDecoratorsSrcLibsElementToFunction.default;
}],
execute: function () {
_export("trigger", trigger = function trigger(event, params) {
var customEvent = new CustomEvent(event, { bubbles: true });
customEvent.params = params;
this.dispatchEvent(customEvent);
});
_export("forEach", forEach = Array.prototype.forEach);
_export("trigger", trigger);
_export("forEach", forEach);
}
};
});