【仅供内部供应商使用,不提供对外解答和培训】

Page tree

【仅供内部供应商使用,不提供对外解答和培训】

Skip to end of metadata
Go to start of metadata

tabPane

tabPane,service

tabPane~addItem(entry)

添加一个tab

Kind: inner method of tabPane

Param Type Description
entry object entry对象
entry.text string tab标题显示文本.
entry.id string 唯一标识tab的id.
entry.cardType string tab所对应的页面

tabPane~closeTab(v)

关闭一个tab

Kind: inner method of tabPane

Param Type Description
v string tab的value

tabPane~closeOtherTabs()

关闭除当前tab的其他tab,首页tab不会被关

Kind: inner method of tabPane

tabPane~closeAllTabs()

关闭所有tab,首页tab不会被关

Kind: inner method of tabPane

tabPane~refreshTab(cardValue, options)

刷新一个tab

Kind: inner method of tabPane

Param Type Description
cardValue string tab的id
options object tab的配置信息

tabPane~closeActiveTab()

关闭当前激活的tab

Kind: inner method of tabPane

tabPane~getShowingTab()

获取当前激活tab的id

Kind: inner method of tabPane

tabPane~fullScreen()

全屏显示

Kind: inner method of tabPane

tabPane~exitFullScreen()

退出全屏

Kind: inner method of tabPane

tabPane~openCustomTab(cardName, cardValue, cardType)

显式的打开一个tab

Kind: inner method of tabPane

Param
cardName
cardValue
cardType

tabPane~showTab(value, card)

切换tab

Kind: inner method of tabPane

Param Description
value tab的value值
card 可选更新的card信息

tabPane~alternatePlay(time, refresh) ⇒ number

启动轮播

Kind: inner method of tabPane

Param Description
time 间隔时间,单位秒
refresh 切换时候是否需要刷新

  • No labels