Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. HTMLElement
  4. writingSuggestions

HTMLElement: writingSuggestions property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

ThewritingSuggestions property of theHTMLElement interface is a string indicating if browser-provided writing suggestions should be enabled under the scope of the element or not.

It reflects the value of thewritingsuggestions HTML global attribute.

Value

An enumerated value; possible values are:

"true"

The browser automatically shows the virtual keyboard when the user taps or focuses the element.

"false"

The browser does not automatically show the virtual keyboard: showing/hiding the virtual keyboard is handled manually by the script.

Examples

The following example shows how to disable writing suggestions offered by user agents via script:

js
const element = document.querySelector("input");// disable user agent writing suggestionselement.writingSuggestions = "false";

Specifications

Specification
HTML
# dom-writingsuggestions

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp