Class: Tab

Apps~Tab

new Tab(app, tabs)

Application Tab Controller

Name Type Description
app Apps.<moduleName>

app object

tabs array.<tabName>

tab names

Members

$elements jQueryObject

$sidebar jQueryObject

changed boolean

default string

is string

stores object

Type Definitions

app Apps.<moduleName>

Methods

change(){boolean}

Update state when tab changed

Returns:
Type Description
boolean changed

contents(selector){jQueryObject}

Name Type Description
selector string optional
Returns:
Type Description
jQueryObject filtered tab element

Update the item drop panel

eq(tab){boolean}

Check current tab eqal arguments

Name Type Description
tab array

names

Returns:
Type Description
boolean current tab name matched params

get(){string}

Get curent tab name

Returns:
Type Description
string current app name
Listens to Events:
Listens to Events:
Listens to Events:

set(name){boolean}

Set tab name

Name Type Description
name string
Returns:
Type Description
boolean corrected app name
comments powered by Disqus