<radiobutton>
The radio tag provides a simple radio button.

JavaScript: lz.radiobutton

The radiobutton class provides a simple two-state button with a text label, for use in radiogroup.

See <radiogroup> for details on use.

Implements a "radio" button, allows a one-of-many selection when several of these are in a radiogroup. Radiobutton expects its parent to be radiogroup.

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
text_y number Number this.rb.height/2 - this._title.height/2 read/write
  the y position of the text label. default: centered

Attributes inherited from <baselistitem>

selected

Attributes inherited from <basevaluecomponent>

type, value

Methods

Methods inherited from <baselistitem>

setHilite

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <baselistitem>

onselect, onselected

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy