A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/writingSuggestions below:

HTMLElement: writingSuggestions property - Web APIs

HTMLElement: writingSuggestions property

Limited availability

The writingSuggestions property of the HTMLElement 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 the writingsuggestions 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:

const element = document.querySelector("input");

// disable user agent writing suggestions
element.writingSuggestions = "false";
Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4