TabsView
API
Slots
| Name | Description |
|---|---|
| default | 自定义默认内容 |
Exposes
| Method | Description | Type |
|---|---|---|
| setTabsData | 设置tab数据 | Function |
| setPageData | 设置页面数据 | Function |
| insertPageData | 插入页面数据 | Function |
| updatePageData | 更新页面数据 | Function |
| focusBackToTop | 焦点回调顶部 | Function |
| requestNodeFocus | 请求焦点 | Function |
| addPageData | 添加页面数据 | Function |
| reloadAll | 重新加载所有 | Function |
| reloadPage | 重新加载页面 | Function |
| setCurrentPage | 设置当前页面 | Function |
| getCurrentPage | 获取当前页面 | Function |
| requestTabFocus | 请求tab焦点 | Function |
| invokeContentFunction | 调用页面方法 | Function |
| invokeContentFunctionDirect | 调用页面方法 | Function |
| contentScrollToFocus | 滚动到焦点位置 | Function |
| getRootNodeViewState | 获取根节点状态 | Function |
| getChildNodeViewState | 获取孩子节点状态 | Function |
| dispatchUIFunctionOnChildNode | 孩子节点调用方法 | Function |
| updateItemMatched | 更新节点 | Function |
| updateChildNode | 更新孩子节点 | Function |
| updateRootNode | 更新根节点 | Function |
| destroy | 销毁 | Function |
| cancelAll | 取消所有任务 | Function |
| translationLeft | 向左位移 | Function |
| translationRight | 向右位移 | Function |