public class DataListElement extends FormElement<HTMLDataListElement>
The DataListElement represents a wrapper that is associated with the HTMLDataListElement
| Constructor and Description |
|---|
DataListElement(HTMLDataListElement element)
Initializes a new instance of the
DataListElement class. |
| Modifier and Type | Method and Description |
|---|---|
OptionCollection |
getOptions()
Returns a list of options
|
getHtmlElementgetElementType, getId, getName, getValue, setId, setName, setValuepublic DataListElement(HTMLDataListElement element)
Initializes a new instance of the DataListElement class.
element - The element.public OptionCollection getOptions()
Returns a list of options