Interface HasAutocapitalize
- All Superinterfaces:
HasElement
,Serializable
- All Known Implementing Classes:
AbstractNumberField
,BigDecimalField
,EmailField
,IntegerField
,NumberField
,PasswordField
,TextArea
,TextField
,TextFieldBase
Mixin interface for fields with
autocapitalize
attribute.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault Autocapitalize
Gets theAutocapitalize
for indicating whether the value of this component can be automatically completed by the browser.default void
setAutocapitalize
(Autocapitalize autocapitalize) Sets theAutocapitalize
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 theAutocapitalize
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 theAutocapitalize
for indicating whether the value of this component can be automatically completed by the browser.- Returns:
- the
autocapitalize
value, ornull
if not set
-