autocapitalize property
String
get
autocapitalize
The autocapitalize
property of the HTMLElement interface
represents the element's capitalization behavior for user input. It is
available on all HTML elements, though it doesn't affect all of them,
including:
input
andtextarea
elements.- Any element with
contenteditable
set on it.
autocapitalize
doesn't affect behavior when typing on a physical
keyboard. It affects the behavior of other input mechanisms such as
virtual keyboards on mobile devices and voice input. This can assist users
by making data entry quicker and easier, for example by automatically
capitalizing the first letter of each sentence.
It reflects the value of the
autocapitalize
HTML global attribute.
Implementation
external String get autocapitalize;
set
autocapitalize
(String value)
Implementation
external set autocapitalize(String value);