feat: Image add isAnimating, startAnimating and stopAnimating API

This commit is contained in:
pengfei.zhou
2021-09-26 16:27:13 +08:00
committed by osborn
parent 3fd8405e0b
commit 63e0d1c38c
13 changed files with 213 additions and 36 deletions

View File

@@ -2154,6 +2154,15 @@ var Image = /** @class */ (function (_super) {
function Image() {
return _super !== null && _super.apply(this, arguments) || this;
}
Image.prototype.isAnimating = function (context) {
return this.nativeChannel(context, "isAnimating")();
};
Image.prototype.startAnimating = function (context) {
return this.nativeChannel(context, "startAnimating")();
};
Image.prototype.stopAnimating = function (context) {
return this.nativeChannel(context, "stopAnimating")();
};
__decorate$a([
Property,
__metadata$a("design:type", String)