Name

floatinglist — a floatinglist appears above other components

Synopsis

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

Description

The floatinglist tag provides a list that floats on top of the canvas. It includes an attachment API for popping-up relative to a target. This attachment API guarantees visibility on the canvas, such that if the floatinglist intersects the canvas bounds, the attach location will change to a more visible location.

              <canvas height="100">
              <button x="10" y="10" text="owner">
              <floatinglist width="80" attach="right">
              <textlistitem text="one"/>
              <textlistitem text="two"/>
              </floatinglist>
              </button>
              </canvas>
            
A list which floats above other components on the canvas. The floatinglist may be attached to a view, in which case the attachlocation attribute may be used to specify where the attachment occurs.

Superclass Chain

??? » basefloatinglist » floatinglist

Known Subclasses

Details

Properties (2)

border_bottom
<attribute name="border_bottom" value="${this._currentattachy == 'bottom' ? 0:this.bordersize}" />
public var border_bottom;
The size of the bottom border which defaults to bordersize.
border_top
<attribute name="border_top" value="${this._currentattachy == 'top' ? 0:this.bordersize}" />
public var border_top;

LZX Synopsis

<class name="floatinglist" extends=" basefloatinglist ">
  <attribute name=" border_bottom " value="${this._currentattachy == 'bottom' ? 0:this.bordersize}" />
  <attribute name=" border_top " value="${this._currentattachy == 'top' ? 0:this.bordersize}" />
</class>

JavaScript Synopsis

public floatinglist extends  basefloatinglist  {
  public var border_bottom ;
  public var border_top ;
}