OverlayVisibilityMode
Inherits: Enum
Visibility of text field overlays based on the state of the current text entry.
Properties
-
ALWAYS–Always show the overlay regardless of the text entry state.
-
EDITING–Overlay will only appear when the current text entry is not empty.
-
NEVER–Overlay will never appear regardless of the text entry state.
-
NOT_EDITING–Overlay will only appear when the current text entry is empty.
Properties#
ALWAYS = 'always'
class-attribute
instance-attribute
#
Always show the overlay regardless of the text entry state.
EDITING = 'editing'
class-attribute
instance-attribute
#
Overlay will only appear when the current text entry is not empty.
This includes prefilled text that the user did not type in manually. But does not include text in placeholders.
NEVER = 'never'
class-attribute
instance-attribute
#
Overlay will never appear regardless of the text entry state.
NOT_EDITING = 'notEditing'
class-attribute
instance-attribute
#
Overlay will only appear when the current text entry is empty.
This also includes not having prefilled text that the user did not type in manually. Texts in placeholders are ignored.