feat:Input add getSelection API
This commit is contained in:
@@ -2791,6 +2791,9 @@ var Input = /** @class */ (function (_super) {
|
||||
end: end,
|
||||
});
|
||||
};
|
||||
Input.prototype.getSelection = function (context) {
|
||||
return this.nativeChannel(context, 'getSelection')();
|
||||
};
|
||||
Input.prototype.requestFocus = function (context) {
|
||||
return this.nativeChannel(context, 'requestFocus')();
|
||||
};
|
||||
|
@@ -2154,6 +2154,9 @@ class Input extends View {
|
||||
end,
|
||||
});
|
||||
}
|
||||
getSelection(context) {
|
||||
return this.nativeChannel(context, 'getSelection')();
|
||||
}
|
||||
requestFocus(context) {
|
||||
return this.nativeChannel(context, 'requestFocus')();
|
||||
}
|
||||
|
@@ -3675,6 +3675,9 @@ class Input extends View {
|
||||
end,
|
||||
});
|
||||
}
|
||||
getSelection(context) {
|
||||
return this.nativeChannel(context, 'getSelection')();
|
||||
}
|
||||
requestFocus(context) {
|
||||
return this.nativeChannel(context, 'requestFocus')();
|
||||
}
|
||||
|
Reference in New Issue
Block a user