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.
12 lines (9 loc) • 362 B
JavaScript
import { helpers } from 'utils';
import SelectableBehavior from '../../../../../models/behaviors/SelectableBehavior';
import RadioButtonModel from '../models/RadioButtonModel';
export default Backbone.Collection.extend({
initialize() {
helpers.applyBehavior(this, SelectableBehavior.SingleSelect);
},
model: RadioButtonModel
});