2016-11-02 16:12:13 -06:00

21 lines
375 B
JavaScript

module.exports = require('marko/widgets').defineComponent({
template: require.resolve('./template.marko'),
getTemplateData: function(state, input) {
return {
};
},
init: function() {
this.fooClicked = false;
this.barClicked = false;
},
handleFooClick: function() {
this.fooClicked = true;
},
handleBarClick: function() {
this.barClicked = true;
}
});