2016-11-02 16:12:13 -06:00

19 lines
426 B
JavaScript

module.exports = require('marko/widgets').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;
}
});