UNPKG

comindware.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.

36 lines (32 loc) 1.17 kB
/** * Developer: Grigory Kuznetsov * Date: 22.07.2015 * Copyright: 2009-2016 Comindware® * All Rights Reserved * Published under the MIT license */ 'use strict'; import RowView from '../../list/views/RowView'; import NativeGridItemViewBehavior from './behaviors/NativeGridItemViewBehavior'; /** * Some description for initializer * @name RowView * @memberof module:core.nativeGrid.views * @class RowView * @constructor * @description View используемый по умолчанию для отображения строки списка * @extends module:core.list.views.RowView {@link module:core.list.views.RowView} * @param {Object} options Constructor options * @param {Array} options.columns Массив колонк * @param {Object} options.gridEventAggregator ? * @param {Number} [options.paddingLeft=20] Левый отступ * @param {Number} [options.paddingRight=10] Правый отступ * */ export default RowView.extend({ behaviors: { NativeGridItemViewBehavior: { behaviorClass: NativeGridItemViewBehavior, padding: 15 } } });