mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
13 lines
265 B
JavaScript
13 lines
265 B
JavaScript
module.exports = {
|
|
onInput: function(input) {
|
|
this.state = {
|
|
buttonSize: input.buttonSize || 'normal'
|
|
};
|
|
},
|
|
|
|
setButtonSize: function(size) {
|
|
this.setState('buttonSize', size);
|
|
},
|
|
onMount: function() {
|
|
}
|
|
}; |