comindware.core.ui
Version:
Comindware Core UI provides the basic components like editors, lists, dropdowns, popups that we so desperately need while creating Marionette-based single-page applications.
22 lines (16 loc) • 414 B
JavaScript
import CanvasView from 'demoPage/views/CanvasView';
export default function() {
const model = new Backbone.Model({
timeValue: '2015-07-20T10:46:37Z'
});
const view = new Core.form.editors.TimeEditor({
model,
key: 'timeValue',
autocommit: true
});
return new CanvasView({
view,
presentation: "{{timeValue}}",
isEditor: true
});
}