Enumeration

WebKitInputHints

since: 2.28

Declaration

flags WebKit.InputHints

Description [src]

Enum values used to describe hints that might be taken into account by input methods.

Available since: 2.28

Members

WEBKIT_INPUT_HINT_NONE

No special behavior suggested.

  • Value: 0
  • Available since: 2.28
WEBKIT_INPUT_HINT_SPELLCHECK

Suggest spell checking. Note that when this hint is missing, spell checking is disabled.

  • Value: 1
  • Available since: 2.28
WEBKIT_INPUT_HINT_LOWERCASE

Suggest to not autocapitalize.

  • Value: 2
  • Available since: 2.28
WEBKIT_INPUT_HINT_UPPERCASE_CHARS

Suggest to capitalize all text.

  • Value: 4
  • Available since: 2.28
WEBKIT_INPUT_HINT_UPPERCASE_WORDS

Suggest to capitalize the first character of each word.

  • Value: 8
  • Available since: 2.28
WEBKIT_INPUT_HINT_UPPERCASE_SENTENCES

Suggest to capitalize the first word of each sentence.

  • Value: 16
  • Available since: 2.28
WEBKIT_INPUT_HINT_INHIBIT_OSK

Suggest to not show an onscreen keyboard. It is set when the editable element has inputmode=”none”, and when the input hints are set while the user is not interacting with the page, for example when a script focuses the element or changes its type or inputmode outside of a mouse, keyboard or touch event handler. The user might have closed the onscreen keyboard, so it should not be opened again automatically in that case.

  • Value: 32
  • Available since: 2.28
WEBKIT_INPUT_HINT_PRIVATE

Request that the input method should not update personalized data (like typing history). It is set for a password field, and kept after its type is changed, for example to text to reveal the password. Since: 2.56.

  • Value: 64
  • Available since: 2.28