<tab>
The lz tab is used by tabs.

JavaScript: lz.tab

A tab is an LZ tab within <basetabsbar> or any object that extends this (such as <tabsbar>).

<canvas height="100">
  <include href="lz"/>

  <basetabs x="10" y="10" tabclass="tab">
    <basetabpane text="one">
      <text>one</text>
    </basetabpane>
    <basetabpane text="two">
      <text>two</text>
    </basetabpane>
  </basetabs>
</canvas>

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
padding expression any 20 read/write
  Text padding.

Attributes inherited from <basetab>

tabpane, text

Attributes inherited from <baselistitem>

selected

Attributes inherited from <basevaluecomponent>

type, value

Methods

Methods inherited from <basetab>

setSelected

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