constructor
flagrate.createTab
flagrate.createTab(option) → flagrate.Tab
new flagrate.Tab
option(Object) – option.
Create and initialize the tab.
option
id(String):idattribute of container.className(String):attribute(Object):style(Object): (using flagrate.Element.setStyle)tabs(Array): Array of tab object.selectedIndex(Number):fill(Boolean; defaultfalse):bodyless(Boolean; defaultfalse):onSelect(Function): Triggered whenever select the tab.
tab
key(String):label(String):icon(String):text(String):html(String):element(Element):onSelect(Function):