mirror of
https://github.com/marko-js/marko.git
synced 2026-01-25 15:03:04 +00:00
15 lines
306 B
JavaScript
15 lines
306 B
JavaScript
module.exports = {
|
|
onInput: function () {
|
|
this.string = 'world';
|
|
this.number = 12;
|
|
this.boolean = true;
|
|
this.complex = {
|
|
a: '<\"hello">',
|
|
b: 'test'
|
|
};
|
|
},
|
|
|
|
onMount: function () {
|
|
this.name = 'app-component-config';
|
|
}
|
|
}; |