WebAPI/KeboardIME: Difference between revisions

m
mNo edit summary
Line 21: Line 21:


== Features ==
== Features ==
The Virtual Keyboard/IME API supports the following features:
* Notifies the VKB app when the focus text field was changing in other
apps
* Allow user to manual hide the keyboard. Check {{bug|737110}}.
* The VKB app should be responsive to properties and the state of the  input field (more than HTML5 input type, including current content,  cursor position, x-inputmode {{bug|796544}}).
* Sends trust
* The VKB app should be able to send trusted key events such as they are considered by the other apps as user' inputs.
* The VKB app should be able to send a character or a string to the current input cursor position.
* Keyboard should be able to overwrite the current value of the input field of the input field and set the cursor position.
* The VKB app should be able to move the cursor position or select a specified range of text.
* The VKB should be able to switch the focus onto the previous/next input field.
* The return key label of the VKB can be customized.


== Proposed API ==
== Proposed API ==
Confirmed users
58

edits