feat: add bounces for list,scroller,nestedSlider,flowlayout

This commit is contained in:
pengfei.zhou
2021-04-30 14:32:53 +08:00
committed by osborn
parent e621db48b9
commit 6da8d5658b
22 changed files with 109 additions and 1 deletions

View File

@@ -2142,6 +2142,10 @@ var List = /** @class */ (function (_super) {
Property,
__metadata$8("design:type", Boolean)
], List.prototype, "scrollable", void 0);
__decorate$8([
Property,
__metadata$8("design:type", Boolean)
], List.prototype, "bounces", void 0);
return List;
}(Superview));
function list(config) {
@@ -2362,6 +2366,10 @@ var Scroller = /** @class */ (function (_super) {
Property,
__metadata$6("design:type", Boolean)
], Scroller.prototype, "scrollable", void 0);
__decorate$6([
Property,
__metadata$6("design:type", Boolean)
], Scroller.prototype, "bounces", void 0);
return Scroller;
}(Superview));
@@ -2671,6 +2679,10 @@ var FlowLayout = /** @class */ (function (_super) {
Property,
__metadata$4("design:type", Boolean)
], FlowLayout.prototype, "scrollable", void 0);
__decorate$4([
Property,
__metadata$4("design:type", Boolean)
], FlowLayout.prototype, "bounces", void 0);
return FlowLayout;
}(Superview));
function flowlayout(config) {
@@ -2858,6 +2870,10 @@ var NestedSlider = /** @class */ (function (_super) {
Property,
__metadata$2("design:type", Boolean)
], NestedSlider.prototype, "scrollable", void 0);
__decorate$2([
Property,
__metadata$2("design:type", Boolean)
], NestedSlider.prototype, "bounces", void 0);
return NestedSlider;
}(Group));

View File

@@ -1637,6 +1637,10 @@ __decorate$8([
Property,
__metadata$8("design:type", Boolean)
], List.prototype, "scrollable", void 0);
__decorate$8([
Property,
__metadata$8("design:type", Boolean)
], List.prototype, "bounces", void 0);
function list(config) {
const ret = new List;
for (let key in config) {
@@ -1812,6 +1816,10 @@ __decorate$6([
Property,
__metadata$6("design:type", Boolean)
], Scroller.prototype, "scrollable", void 0);
__decorate$6([
Property,
__metadata$6("design:type", Boolean)
], Scroller.prototype, "bounces", void 0);
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -2055,6 +2063,10 @@ __decorate$4([
Property,
__metadata$4("design:type", Boolean)
], FlowLayout.prototype, "scrollable", void 0);
__decorate$4([
Property,
__metadata$4("design:type", Boolean)
], FlowLayout.prototype, "bounces", void 0);
function flowlayout(config) {
const ret = new FlowLayout;
for (let key in config) {
@@ -2200,6 +2212,10 @@ __decorate$2([
Property,
__metadata$2("design:type", Boolean)
], NestedSlider.prototype, "scrollable", void 0);
__decorate$2([
Property,
__metadata$2("design:type", Boolean)
], NestedSlider.prototype, "bounces", void 0);
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

View File

@@ -3158,6 +3158,10 @@ __decorate$8([
Property,
__metadata$8("design:type", Boolean)
], List.prototype, "scrollable", void 0);
__decorate$8([
Property,
__metadata$8("design:type", Boolean)
], List.prototype, "bounces", void 0);
function list(config) {
const ret = new List;
for (let key in config) {
@@ -3333,6 +3337,10 @@ __decorate$6([
Property,
__metadata$6("design:type", Boolean)
], Scroller.prototype, "scrollable", void 0);
__decorate$6([
Property,
__metadata$6("design:type", Boolean)
], Scroller.prototype, "bounces", void 0);
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -3576,6 +3584,10 @@ __decorate$4([
Property,
__metadata$4("design:type", Boolean)
], FlowLayout.prototype, "scrollable", void 0);
__decorate$4([
Property,
__metadata$4("design:type", Boolean)
], FlowLayout.prototype, "bounces", void 0);
function flowlayout(config) {
const ret = new FlowLayout;
for (let key in config) {
@@ -3721,6 +3733,10 @@ __decorate$2([
Property,
__metadata$2("design:type", Boolean)
], NestedSlider.prototype, "scrollable", void 0);
__decorate$2([
Property,
__metadata$2("design:type", Boolean)
], NestedSlider.prototype, "bounces", void 0);
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;