feat:optimize iOS Transform setting
This commit is contained in:
@@ -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")();
|
||||
};
|
||||
|
@@ -283,6 +283,12 @@ class View {
|
||||
getHeight(context) {
|
||||
return this.nativeChannel(context, 'getHeight')();
|
||||
}
|
||||
getX(context) {
|
||||
return this.nativeChannel(context, 'getX')();
|
||||
}
|
||||
getY(context) {
|
||||
return this.nativeChannel(context, 'getY')();
|
||||
}
|
||||
getLocationOnScreen(context) {
|
||||
return this.nativeChannel(context, "getLocationOnScreen")();
|
||||
}
|
||||
|
@@ -1742,6 +1742,12 @@ class View {
|
||||
getHeight(context) {
|
||||
return this.nativeChannel(context, 'getHeight')();
|
||||
}
|
||||
getX(context) {
|
||||
return this.nativeChannel(context, 'getX')();
|
||||
}
|
||||
getY(context) {
|
||||
return this.nativeChannel(context, 'getY')();
|
||||
}
|
||||
getLocationOnScreen(context) {
|
||||
return this.nativeChannel(context, "getLocationOnScreen")();
|
||||
}
|
||||
|
Reference in New Issue
Block a user