feat:optimize iOS Transform setting

This commit is contained in:
pengfei.zhou
2020-03-03 14:43:49 +08:00
committed by osborn
parent 35e9f05114
commit 0fa121e54f
10 changed files with 42 additions and 5 deletions

View File

@@ -367,6 +367,12 @@ var View = /** @class */ (function () {
View.prototype.getHeight = function (context) {
return this.nativeChannel(context, 'getHeight')();
};
View.prototype.getX = function (context) {
return this.nativeChannel(context, 'getX')();
};
View.prototype.getY = function (context) {
return this.nativeChannel(context, 'getY')();
};
View.prototype.getLocationOnScreen = function (context) {
return this.nativeChannel(context, "getLocationOnScreen")();
};