2017-02-20 16:04:50 -07:00

15 lines
282 B
JavaScript

module.exports = {
onMount: function() {
this.name = 'app-bar';
var el = this.el;
this.appendHtml = function(html) {
el.innerHTML += html;
};
},
emitTestEvent: function() {
this.emit('testEvent', 'a', 'b');
}
};