mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
12 lines
179 B
JavaScript
12 lines
179 B
JavaScript
module.exports = {
|
|
onInput: function (input) {
|
|
this.state = {
|
|
className: input.className,
|
|
};
|
|
},
|
|
|
|
getTemplateData: function (state) {
|
|
return state;
|
|
},
|
|
};
|