Browse Source

添加响应式布局

es6
guy 3 years ago
parent
commit
74a75ec79c
  1. 6
      src/core/wrapper/layout/responsive/responsive.flex.wrapper.horizontal.js

6
src/core/wrapper/layout/responsive/responsive.flex.wrapper.horizontal.js

@ -6,6 +6,12 @@
* @extends BI.FlexWrapperHorizontalLayout * @extends BI.FlexWrapperHorizontalLayout
*/ */
BI.ResponsiveFlexWrapperHorizontalLayout = BI.inherit(BI.FlexWrapperHorizontalLayout, { BI.ResponsiveFlexWrapperHorizontalLayout = BI.inherit(BI.FlexWrapperHorizontalLayout, {
props: function () {
return BI.extend(BI.ResponsiveFlexWrapperHorizontalLayout.superclass.props.apply(this, arguments), {
extraCls: "bi-responsive-f-h"
});
},
_addElement: function (i, item) { _addElement: function (i, item) {
var w = BI.ResponsiveFlexHorizontalLayout.superclass._addElement.apply(this, arguments); var w = BI.ResponsiveFlexHorizontalLayout.superclass._addElement.apply(this, arguments);
var o = this.options; var o = this.options;

Loading…
Cancel
Save