W3cubDocs

/Haxe JavaScript

LabelElement

package js.html

extends ElementDOMElementNodeEventTarget

Available on js

The HTMLLabelElement interface gives access to properties specific to label elements. It inherits methods and properties from the base HTMLElement interface.

Documentation HTMLLabelElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read only control:Element

Is a HTMLElement representing the control with which the label is associated.

read only form:FormElement

Is a HTMLFormElement object representing the form with which the labeled control is associated, or null if there is no associated control, or if that control isn't associated with a form. In other words, this is just a shortcut for HTMLLabelElement.control.form.

htmlFor:String

Is a string containing the ID of the labeled control. This reflects the for attribute.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/LabelElement.html