From: DongHyun Song Date: Thu, 10 Mar 2022 08:23:22 +0000 (+0900) Subject: [Service][VD] Add mde APIs to handle remote input X-Git-Tag: submit/tizen/20220311.160022^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad13bc8f7207c7b27a5e050a48b79cb3c4a97ae8;p=platform%2Fframework%2Fweb%2Fwrtjs.git [Service][VD] Add mde APIs to handle remote input 'updateRemoteInput' is an API to fill the input string at the IME input field. 'selectRemoteInput' is an API to submit the string of IME form. Change-Id: I2ff3f77d267e0e6e8e586485c8b590b78f96d241 Signed-off-by: DongHyun Song --- diff --git a/wrt_app/service/device_api_router.ts b/wrt_app/service/device_api_router.ts index 5f30ad0..afbd161 100644 --- a/wrt_app/service/device_api_router.ts +++ b/wrt_app/service/device_api_router.ts @@ -99,6 +99,12 @@ export class DeviceAPIRouter { global.webapis.mde.initVirtualEventGenerator = (type: number) => { return mde.initVirtualEventGenerator(type); } + global.webapis.mde.updateRemoteInput = (inputString: string) => { + mde.updateRemoteInput(inputString); + } + global.webapis.mde.selectRemoteInput = () => { + mde.selectRemoteInput(); + } } global.webapis.mde.getCurrentLoginId = () => { return mde.getCurrentLoginId();