2016-12-20 17:06:53 -07:00

19 lines
433 B
JavaScript

module.exports = require('marko/widgets/legacy').defineComponent({
template: require('./template.marko'),
getWidgetConfig: function(input) {
return {
string: input.name,
number: 12,
boolean: true,
complex: {
a: '<\"hello">',
b: 'test'
}
};
},
init: function(config) {
this.config = config;
}
});