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.

18 lines (13 loc) 475 B
import template from 'text-loader!../templates/listSearchCanvas.html'; export default Marionette.View.extend({ template: Handlebars.compile(template), regions: { searchRegion: '.js-search-region', contentRegion: '.js-content-region' }, className: 'demo-list-canvas__view_search', onRender() { this.showChildView('contentRegion', this.options.content); this.showChildView('searchRegion', this.options.search); } });