js: add slidePosition

This commit is contained in:
pengfei.zhou
2023-04-04 19:49:10 +08:00
committed by osborn
parent f1177e27b4
commit 930593fe0c
11 changed files with 98 additions and 14 deletions

View File

@@ -2641,7 +2641,7 @@ var List = /** @class */ (function (_super) {
__metadata$b("design:type", Function)
], List.prototype, "onScrollEnd", void 0);
__decorate$b([
Property,
InconsistProperty,
__metadata$b("design:type", Number)
], List.prototype, "scrolledPosition", void 0);
__decorate$b([
@@ -2820,6 +2820,10 @@ var Slider = /** @class */ (function (_super) {
Property,
__metadata$a("design:type", Object)
], Slider.prototype, "slideStyle", void 0);
__decorate$a([
InconsistProperty,
__metadata$a("design:type", Number)
], Slider.prototype, "slidePosition", void 0);
return Slider;
}(Superview));
function slider(config) {

View File

@@ -1993,7 +1993,7 @@ __decorate$b([
__metadata$b("design:type", Function)
], List.prototype, "onScrollEnd", void 0);
__decorate$b([
Property,
InconsistProperty,
__metadata$b("design:type", Number)
], List.prototype, "scrolledPosition", void 0);
__decorate$b([
@@ -2147,6 +2147,10 @@ __decorate$a([
Property,
__metadata$a("design:type", Object)
], Slider.prototype, "slideStyle", void 0);
__decorate$a([
InconsistProperty,
__metadata$a("design:type", Number)
], Slider.prototype, "slidePosition", void 0);
function slider(config) {
const ret = new Slider;
ret.apply(config);

View File

@@ -3533,7 +3533,7 @@ __decorate$b([
__metadata$b("design:type", Function)
], List.prototype, "onScrollEnd", void 0);
__decorate$b([
Property,
InconsistProperty,
__metadata$b("design:type", Number)
], List.prototype, "scrolledPosition", void 0);
__decorate$b([
@@ -3687,6 +3687,10 @@ __decorate$a([
Property,
__metadata$a("design:type", Object)
], Slider.prototype, "slideStyle", void 0);
__decorate$a([
InconsistProperty,
__metadata$a("design:type", Number)
], Slider.prototype, "slidePosition", void 0);
function slider(config) {
const ret = new Slider;
ret.apply(config);