feat: Image add isAnimating, startAnimating and stopAnimating API
This commit is contained in:
@@ -3140,6 +3140,15 @@ exports.ScaleType = void 0;
|
||||
ScaleType[ScaleType["ScaleAspectFill"] = 2] = "ScaleAspectFill";
|
||||
})(exports.ScaleType || (exports.ScaleType = {}));
|
||||
class Image extends View {
|
||||
isAnimating(context) {
|
||||
return this.nativeChannel(context, "isAnimating")();
|
||||
}
|
||||
startAnimating(context) {
|
||||
return this.nativeChannel(context, "startAnimating")();
|
||||
}
|
||||
stopAnimating(context) {
|
||||
return this.nativeChannel(context, "stopAnimating")();
|
||||
}
|
||||
}
|
||||
__decorate$a([
|
||||
Property,
|
||||
|
||||
Reference in New Issue
Block a user