Represents a caption in a user interface. The caption can be
associated with a specific form control (through the forControl
attribute).
Technical details about this element can be found on the Official W3C reference
no subtypes hierarchy
Initializer |
Label(String text = "", String? forControl = null, String? form = null, 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 = ..., {<InlineElement|{InlineElement*}|Snippet<InlineElement>|Null>*} children = ...) Parameters:
|
Attributes | |
attributes | Source Codeshared actual <String->Object>[] attributes |
children | Source Codeshared actual {<InlineElement|{InlineElement*}|Snippet<InlineElement>|Null>*} children Refines ParentNode.children |
forControl | Source Codeshared String? forControl Specifies which form control a label is bound to. |
form | Source Codeshared String? form Specifies one or more forms the label belongs to. |
tag | Source Codeshared actual Tag tag The tag name and type. Refines Node.tag |
text | Source Codeshared actual String text Refines TextNode.text |
Inherited Attributes |
Attributes inherited from: Object |
Attributes inherited from: Node |
Attributes inherited from: ParentNode<Child> |
Attributes inherited from: TextNode |
Inherited Methods |
Methods inherited from: Object |