feat:Input add getSelection API

This commit is contained in:
pengfei.zhou
2021-06-11 17:40:02 +08:00
committed by osborn
parent 5263731dd7
commit e528630f71
12 changed files with 69 additions and 9 deletions

View File

@@ -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')();
};