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 (14 loc) 361 B
import CanvasView from 'demoPage/views/CanvasView'; export default function() { const model = new Backbone.Model({ value: 'Foo Bar' }); return new CanvasView({ view: new Core.form.editors.AudioEditor({ model, key: 'value' }), presentation: '"{{value}}"', isEditor: true }); }