mirror of
https://github.com/marko-js/marko.git
synced 2026-01-25 15:03:04 +00:00
14 lines
226 B
JavaScript
14 lines
226 B
JavaScript
module.exports = {
|
|
onMount: function () {
|
|
this.fooClicked = false;
|
|
this.barClicked = false;
|
|
},
|
|
|
|
handleFooClick: function () {
|
|
this.fooClicked = true;
|
|
},
|
|
|
|
handleBarClick: function () {
|
|
this.barClicked = true;
|
|
}
|
|
}; |