mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
14 lines
223 B
JavaScript
14 lines
223 B
JavaScript
module.exports = {
|
|
onMount: function() {
|
|
this.fooClicked = false;
|
|
this.barClicked = false;
|
|
},
|
|
|
|
handleFooClick: function() {
|
|
this.fooClicked = true;
|
|
},
|
|
|
|
handleBarClick: function() {
|
|
this.barClicked = true;
|
|
}
|
|
}; |