Static Method Summary
Static Public Methods | ||
public static |
异步初始化,如果定义了sidebar_init方法,将运行这个方法。 |
Constructor Summary
Public Constructor | ||
public |
constructor(options: Object) 构造函数 |
Member Summary
Public Members | ||
public |
options: * |
Method Summary
Public Methods | ||
public |
close() |
|
public |
hide() |
|
public |
打开侧边栏(如果需要的话)并显示指定的选项卡。 |
|
public |
removeContent(id: String): Null 移除侧边栏内容。 |
|
public |
移除侧边栏选项卡。 |
|
public |
show() |
Static Public Methods
Public Constructors
Public Members
public options: * source
Public Methods
public close() source
public hide() source
public open(id: String): Null source
打开侧边栏(如果需要的话)并显示指定的选项卡。
Params:
Name | Type | Attribute | Description |
id | String | The id of the tab to show |
Return:
Null |
public removeContent(id: String): Null source
移除侧边栏内容。
Params:
Name | Type | Attribute | Description |
id | String | 选项卡id |
Return:
Null |
public removeTab(id: String): Null source
移除侧边栏选项卡。
Params:
Name | Type | Attribute | Description |
id | String | 选项卡id |
Return:
Null |