com.vaadin.flow.component.textfield.
Interface HasAutocapitalize
All Superinterfaces:
All Known Implementing Classes:
AbstractNumberField
, BigDecimalField
, EmailField
, IntegerField
, NumberField
, PasswordField
, TextArea
, TextField
, TextFieldBase
Mixin interface for fields with autocapitalize
attribute.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Autocapitalize
Gets the
Autocapitalize
for indicating whether the value of this component can be automatically completed by the browser.default void
setAutocapitalize
(Autocapitalize autocapitalize) Sets the
Autocapitalize
attribute for indicating whether the value of this component can be automatically completed by the browser.Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
-
Field Details
-
AUTOCAPITALIZE_ATTRIBUTE
Name of @{code autocapitalize} attribute.
See Also:
-
-
Method Details
-
setAutocapitalize
Sets the
Autocapitalize
attribute for indicating whether the value of this component can be automatically completed by the browser.If not set, devices may apply their own default.
Parameters:
autocapitalize
- theautocapitalize
value, ornull
to unset -
getAutocapitalize
Gets the
Autocapitalize
for indicating whether the value of this component can be automatically completed by the browser.Returns:
the
autocapitalize
value, ornull
if not set
-