Represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden.

Technical details about this element can be found on the Official W3C reference

no subtypes hierarchy

Initializer
DataList(String? id = null, CssClass classNames = [], String? style = null, String? accessKey = null, String? contextMenu = null, TextDirection? dir = null, Boolean? draggable = null, DropZone? dropZone = null, Boolean? inert = null, Boolean? hidden = null, String? lang = null, Boolean? spellcheck = null, Integer? tabIndex = null, String? title = null, Boolean? translate = null, Aria? aria = null, NonstandardAttributes nonstandardAttributes = ..., DataContainer data = ..., {<Select|Option|{<Select|Option>*}|Snippet<Select|Option>|Null>*} children = ...)
Parameters:
  • id = null
  • classNames = []
  • style = null
  • accessKey = null
  • contextMenu = null
  • dir = null
  • draggable = null
  • dropZone = null
  • inert = null
  • hidden = null
  • lang = null
  • spellcheck = null
  • tabIndex = null
  • title = null
  • translate = null
  • aria = null
  • nonstandardAttributes = empty
  • data = empty
  • children = {}
Attributes
childrenSource Codeshared actual {<Select|Option|{<Select|Option>*}|Snippet<Select|Option>|Null>*} children
tagSource Codeshared actual Tag tag

The tag name and type.

Refines Node.tag
Inherited Attributes
Attributes inherited from: BaseElement
Attributes inherited from: Element
Attributes inherited from: Object
Attributes inherited from: StyledElement
Attributes inherited from: Node
Attributes inherited from: ParentNode<Child>
Inherited Methods
Methods inherited from: Object