js: add onAnimationEnd for image

This commit is contained in:
pengfei.zhou
2021-12-17 16:52:20 +08:00
committed by osborn
parent e4b27af938
commit e1b10b10bb
9 changed files with 35 additions and 1 deletions

View File

@@ -2360,6 +2360,10 @@ var Image = /** @class */ (function (_super) {
Property,
__metadata$b("design:type", Object)
], Image.prototype, "stretchInset", void 0);
__decorate$b([
Property,
__metadata$b("design:type", Function)
], Image.prototype, "onAnimationEnd", void 0);
return Image;
}(View));
function image(config) {

View File

@@ -1778,6 +1778,10 @@ __decorate$b([
Property,
__metadata$b("design:type", Object)
], Image.prototype, "stretchInset", void 0);
__decorate$b([
Property,
__metadata$b("design:type", Function)
], Image.prototype, "onAnimationEnd", void 0);
function image(config) {
const ret = new Image;
ret.layoutConfig = layoutConfig().fit();

View File

@@ -3306,6 +3306,10 @@ __decorate$b([
Property,
__metadata$b("design:type", Object)
], Image.prototype, "stretchInset", void 0);
__decorate$b([
Property,
__metadata$b("design:type", Function)
], Image.prototype, "onAnimationEnd", void 0);
function image(config) {
const ret = new Image;
ret.layoutConfig = layoutConfig().fit();