Name

listitem — a listitem is an element of a list

Synopsis

LZX: listitem
JavaScript: listitem
Type: Class
Access: public
Topic: Components.Laszlo Components
Declared in: lps/components/lz/listitem.lzx

Description

A listitem is an element with a value that is contained within a list. As with baselistitem, the selected attribute will be true when selected.

              <canvas height="80">
              <list>
              <listitem value="1" selected="true"/>
              <listitem value="2" />
              </list>
              </canvas>
            
A simple listitem that is usually declared inside of a list.

Superclass Chain

node (LzNode) » view (LzView) » basecomponent » basevaluecomponent » baselistitem » listitem

Known Subclasses

Known Direct Subclasses: textlistitem

Details

Properties (1)

height
<attribute name="height" value="20" />
public var height;
The height of the listitem.

LZX Synopsis

<class name="listitem" extends=" baselistitem ">
  <attribute name=" height " value="20" />
</class>

JavaScript Synopsis

public listitem extends  baselistitem  {
  public var height ;
}