<basefloatinglist>
base class for floatinglist

JavaScript: lz.basefloatinglist

This is a base component with no visible elements that implements the functionality of a floating list. See <floatinglist> and <plainfloatinglist> for concrete extensions of this base class.

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
attach string String bottom read/write
  Where this floatinglist should attach to its owner. Possible values: bottom, top, left, right. In the event of a canvas out-of-bounds, the floating list will attach in a visible location.
attachoffset expression any 0 read/write
  The distance from the attachtarget.
attachtarget expression any null read/write
  The view to which this floatinglist will attach. By default, this will be the lexical parent. The style of the attachtarget will be inherited.

Attributes inherited from <basevaluecomponent>

type, value

Methods

_doUpdateAttachLocation()
basefloatinglist._doUpdateAttachLocation(ignore);
Parameter Name Type Description
ignore    

setAttachTarget()
basefloatinglist.setAttachTarget(target : lz.view);
Set the target to which the floating list will attach. Set the "attach" attribute for attachment location relative to this attach target. Our style will be inherited from this attachtarget.
Parameter Name Type Description
target lz.view the target to attach the floatinglist.

updateAttachLocation()
basefloatinglist.updateAttachLocation();
Adjusts the location of the floatinglist relative to its attachtarget, taking into account the attach location and the canvas bounds.

Methods inherited from <list>

addItem, ensureItemInView, select

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <baselist>

onitemclassname, onselect

Events inherited from <baseformitem>

onchanged, onvalue

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy