Interface HasPlaceholder
- All Known Subinterfaces:
DateTagDeclaration
,FileTagDeclaration
,InTagDeclaration
,TextareaTagDeclaration
public interface HasPlaceholder
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setPlaceholder
(String placeholder) Displays a short text in the input field, that describes the meaning of this field.
-
Method Details
-
setPlaceholder
Displays a short text in the input field, that describes the meaning of this field. This is part of HTML 5, the theme should emulate the behaviour, when the browser doesn't support it.
The text will not be displayed, when the input field is readonly or disabled.
- Parameters:
placeholder
- The text to display
-