<basetabelement>
Base class for the contents of a basetabslider.

JavaScript: lz.basetabelement

basetabelement is the base class for the contents of a basetabslider. The basetabelement is focusable if it is closed, and not focusable when it is open.

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
contentvisible expression any ! hideonclose read/write
  This is set to true when a basetabelement begins to open and is set to false when it finishes its close. Default is the inverse of hideonclose.
headerheight number Number minheight read/write
  The height of the header.
height expression any minheight read/write
  The height of the tabelement.
hideonclose expression any true read/write
  Content is automatically hidden when tabelement is closed. To override, set this attribute to false.
itemclassname string String   read/write
  When creating tabelements via additem, this is the class that gets created. The default value is the class of the first tabelement or its descendant.
minheight number Number 22 read/write
  The height the tab will close to.

Attributes inherited from <baselistitem>

selected

Attributes inherited from <basevaluecomponent>

type, value

Methods

closed()
basetabelement.closed(ignore);
Called when the tabelement is completely closed.
Parameter Name Type Description
ignore    

openned()
basetabelement.openned(ignore);
Called when the tabelement is completely opened.
Parameter Name Type Description
ignore    

setSelected()
basetabelement.setSelected(isSelected : boolean);
The selection manager associated with a tabslider sends an onselect event to the tabelement that is being opened or closed.
Parameter Name Type Description
isSelected boolean true is this basetabelement is selected.

Methods inherited from <baselistitem>

setHilite

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Name Description
onclosestart Sent at the start of the close animation.
onclosestop Sent at the end of the close animation.
onopenstart Sent at the start of the open animation.
onopenstop Sent at the end of the open animation.

Events inherited from <baselistitem>

onselect, onselected

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy