js: add flowlayout drag declaration

This commit is contained in:
王劲鹏
2022-08-25 10:52:01 +08:00
committed by osborn
parent 55efff976a
commit be6a0cd64c
7 changed files with 84 additions and 0 deletions

View File

@@ -3264,6 +3264,22 @@ var FlowLayout = /** @class */ (function (_super) {
Property,
__metadata$7("design:type", Boolean)
], FlowLayout.prototype, "bounces", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Boolean)
], FlowLayout.prototype, "canDrag", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "beforeDragging", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "onDragging", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "onDragged", void 0);
return FlowLayout;
}(Superview));
function flowlayout(config) {

View File

@@ -2501,6 +2501,22 @@ __decorate$7([
Property,
__metadata$7("design:type", Boolean)
], FlowLayout.prototype, "bounces", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Boolean)
], FlowLayout.prototype, "canDrag", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "beforeDragging", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "onDragging", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "onDragged", void 0);
function flowlayout(config) {
const ret = new FlowLayout;
for (let key in config) {

View File

@@ -4031,6 +4031,22 @@ __decorate$7([
Property,
__metadata$7("design:type", Boolean)
], FlowLayout.prototype, "bounces", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Boolean)
], FlowLayout.prototype, "canDrag", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "beforeDragging", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "onDragging", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "onDragged", void 0);
function flowlayout(config) {
const ret = new FlowLayout;
for (let key in config) {