DateTagDeclaration
, InTagDeclaration
, TextareaTagDeclaration
public interface HasPlaceholder
Modifier and Type | Method | Description |
---|---|---|
void |
setPlaceholder(java.lang.String placeholder) |
Displays a short text in the input field, that describes the meaning of this field.
|
void setPlaceholder(java.lang.String placeholder)
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.
placeholder
- The text to displayCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.