【仅供内部供应商使用,不提供对外解答和培训】
Markdown |
---|
<a name="module_tabPane"></a> ## tabPane tabPane,service * [tabPane](#module_tabPane) * [~addItem(entry)](#module_tabPane..addItem) * [~closeTab(v)](#module_tabPane..closeTab) * [~closeOtherTabs()](#module_tabPane..closeOtherTabs) * [~closeAllTabs()](#module_tabPane..closeAllTabs) * [~刷新一个tab~refreshTab(cardValue, options)](#module_tabPane..刷新一个tabrefreshTab) * [~closeActiveTab()](#module_tabPane..closeActiveTab) * [~获取当前激活tab的id~getShowingTab()](#module_tabPane..获取当前激活tab的idgetShowingTab) * [~fullScreen()](#module_tabPane..fullScreen) * [~exitFullScreen()](#module_tabPane..exitFullScreen) * [~openCustomTab(cardName, cardValue, cardType)](#module_tabPane..openCustomTab) * [~showTab(value, card)](#module_tabPane..showTab) * [~alternatePlay(time, refresh)](#module_tabPane..alternatePlay) ⇒ <code>number</code> <a name="module_tabPane..addItem"></a> ### tabPane~addItem(entry) 添加一个tab **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) | Param | Type | Description | | --- | --- | --- | | entry | <code>object</code> | entry对象 | | entry.text | <code>string</code> | tab标题显示文本. | | entry.id | <code>string</code> | 唯一标识tab的id. | | entry.cardType | <code>string</code> | tab所对应的页面 | <a name="module_tabPane..closeTab"></a> ### tabPane~closeTab(v) 关闭一个tab **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) | Param | Type | Description | | --- | --- | --- | | v | <code>string</code> | tab的value | <a name="module_tabPane..closeOtherTabs"></a> ### tabPane~closeOtherTabs() 关闭除当前tab的其他tab,首页tab不会被关 **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) <a name="module_tabPane..closeAllTabs"></a> ### tabPane~closeAllTabs() 关闭所有tab,首页tab不会被关 **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) <a name="module_tabPane..刷新一个tabrefreshTab"></a> ### tabPane~刷新一个tabtabPane~refreshTab(cardValue, options) 刷新一个tab **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) | Param | Type | Description | | --- | --- | --- | | cardValue | <code>string</code> | tab的id | | options | <code>object</code> | tab的配置信息 | <a name="module_tabPane..closeActiveTab"></a> ### tabPane~closeActiveTab() 关闭当前激活的tab **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) <a name="module_tabPane..获取当前激活tab的idgetShowingTab"></a> ### tabPane~获取当前激活tab的idtabPane~getShowingTab() 获取当前激活tab的id **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) <a name="module_tabPane..fullScreen"></a> ### tabPane~fullScreen() 全屏显示 **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) <a name="module_tabPane..exitFullScreen"></a> ### tabPane~exitFullScreen() 退出全屏 **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) <a name="module_tabPane..openCustomTab"></a> ### tabPane~openCustomTab(cardName, cardValue, cardType) 显式的打开一个tab **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) | Param | | --- | | cardName | | cardValue | | cardType | <a name="module_tabPane..showTab"></a> ### tabPane~showTab(value, card) 切换tab **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) | Param | Description | | --- | --- | | value | tab的value值 | | card | 可选更新的card信息 | <a name="module_tabPane..alternatePlay"></a> ### tabPane~alternatePlay(time, refresh) ⇒ <code>number</code> 启动轮播 **Kind**: inner method of [<code>tabPane</code>](#module_tabPane) | Param | Description | | --- | --- | | time | 间隔时间,单位秒 | | refresh | 切换时候是否需要刷新 | |