feat: Image add isAnimating, startAnimating and stopAnimating API
This commit is contained in:
9
doric-web/dist/index.js
vendored
9
doric-web/dist/index.js
vendored
@@ -3194,6 +3194,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,
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user