mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
13 lines
298 B
JavaScript
13 lines
298 B
JavaScript
module.exports = require('marko/widgets/legacy').defineComponent({
|
|
template: require('./template.marko'),
|
|
|
|
init: function(widgetConfig) {
|
|
this.name = widgetConfig.name;
|
|
},
|
|
|
|
getWidgetConfig: function(input) {
|
|
return {
|
|
name: input.name
|
|
};
|
|
}
|
|
}); |