jsbeans

jsbeans  1.0.0

jsbeans > jsbeans > jsbeans.TabFolder
Search:
 
Filters

Class jsbeans.TabFolder

Pure javascript implemetation of Tab UI.

Constructor

jsbeans.TabFolder ( tabContainer )
Parameters:
tabContainer <String | DOM> a div (DOM Object or its id) that will contain all generated tabs.

Methods

dispose

void dispose ( )
Renders the UI.
Returns: void

setSize

void setSize ( width , height )
Sets size of TabFolder.
Parameters:
width <String | Integer> if String it will be used 'as is', if Integer it will be pixels (width + "px")
height <String | Integer> if String it will be used 'as is', if Integer it will be pixels (height + "px")
Returns: void

setTabItemUserClass

void setTabItemUserClass ( extraClasses )
NOT IMPLEMENTED YET
Parameters:
extraClasses <String>
Returns: void

setTabItemUserClassForSelected

void setTabItemUserClassForSelected ( extraClasses )
NOT IMPLEMENTED YET
Parameters:
extraClasses <String>
Returns: void

showTab

void showTab ( tabIndex )
Hides any TabItem except the one for the given {@param} tabIndex
Parameters:
tabIndex <Integer>
Returns: void

toString

String toString ( )
Replacer for native toString.
Returns "jsbeans.TabFolder"
Returns: String
the string "jsbeans.TabFolder"


Copyright © 2016 Francesco Mele. All rights reserved.