Sidebar
Show a page that slides from the left or right of the map(with tab page)
Static Method Summary
Static Public Methods | ||
public static |
Asynchronous initialization, it will run a method called sidebar_init if the method has been defined. |
Constructor Summary
Public Constructor | ||
public |
constructor(options: Object) Sidebar constructor |
Member Summary
Public Members | ||
public |
options: * |
Method Summary
Public Methods | ||
public |
hide() |
|
public |
Open sidebar (if necessary) and show the specified tab. |
|
public |
removeContent(id: String): Null Remove sidebar content |
|
public |
Remove sidebar tab |
|
public |
show() |
Static Public Methods
Public Constructors
Public Members
public options: * source
Public Methods
public hide() source
public open(id: String): Null source
Open sidebar (if necessary) and show the specified tab.
Params:
Name | Type | Attribute | Description |
id | String | The id of the tab to show |
Return:
Null |
public removeContent(id: String): Null source
Remove sidebar content
Params:
Name | Type | Attribute | Description |
id | String | The id of the tab to show |
Return:
Null |
public removeTab(id: String): Null source
Remove sidebar tab
Params:
Name | Type | Attribute | Description |
id | String | The id of the tab to show |
Return:
Null |