<textlistitem>
a textlistitem extends listitem and provides text display

JavaScript: lz.textlistitem

A textlistitem is a <listitem> which displays text. This is the most common form of a <listitem>, and is the default listitem for <combobox>s, <menu>s, <list>s, and <floatinglist>s.

<canvas height="100">
               <list>
               <textlistitem text="item 1" value="1" selected="true"/>
               <textlistitem text="item 2" value="2"/>
               </list>
               </canvas>

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
text_x expression any 4 read/write
  The x position of the displayed text.
text_y expression any this.height/2 - this._title.height/2 read/write
  the y position of the text label. default: centered

Attributes inherited from <listitem>

height

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