UNPKG

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.

20 lines (15 loc) 412 B
import CanvasView from 'demoPage/views/CanvasView'; export default function() { const model = new Backbone.Model({ dateValue: '2015-07-20T00:00:00Z' }); return new CanvasView({ view: new Core.form.editors.DateEditor({ model, key: 'dateValue', autocommit: true }), presentation: "{{dateValue}}", isEditor: true }); }