virtualkeyboardpolicy
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
virtualkeyboardpolicy
はグローバル属性で、列挙型の属性です。contenteditable
属性を使用している要素に指定すると、タブレットや携帯電話など、ハードウェアキーボードが利用できないような端末での画面の仮想キーボードの動作を制御することができます。
この属性は、以下の値のいずれかを取る必要があります。
auto
または空文字列の場合は、この要素がフォーカスまたはタップされた際に、自動的に仮想キーボードを表示します。manual
の場合は、要素へのフォーカスやタップを仮想キーボードの状態から切り離します。
仕様書
Specification |
---|
VirtualKeyboard API # dom-elementcontenteditable-virtualkeyboardpolicy |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
virtualkeyboardpolicy |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.