ado5 60ac2c1c9a first commit 9 months ago
..
README.en-US.md 60ac2c1c9a first commit 9 months ago
README.md 60ac2c1c9a first commit 9 months ago
index.d.ts 60ac2c1c9a first commit 9 months ago
index.js 60ac2c1c9a first commit 9 months ago
props.d.ts 60ac2c1c9a first commit 9 months ago
props.js 60ac2c1c9a first commit 9 months ago
tab-panel-props.d.ts 60ac2c1c9a first commit 9 months ago
tab-panel-props.js 60ac2c1c9a first commit 9 months ago
tab-panel.d.ts 60ac2c1c9a first commit 9 months ago
tab-panel.js 60ac2c1c9a first commit 9 months ago
tab-panel.json 60ac2c1c9a first commit 9 months ago
tab-panel.wxml 60ac2c1c9a first commit 9 months ago
tab-panel.wxss 60ac2c1c9a first commit 9 months ago
tabs.d.ts 60ac2c1c9a first commit 9 months ago
tabs.js 60ac2c1c9a first commit 9 months ago
tabs.json 60ac2c1c9a first commit 9 months ago
tabs.wxml 60ac2c1c9a first commit 9 months ago
tabs.wxs 60ac2c1c9a first commit 9 months ago
tabs.wxss 60ac2c1c9a first commit 9 months ago
type.d.ts 60ac2c1c9a first commit 9 months ago
type.js 60ac2c1c9a first commit 9 months ago

README.en-US.md

:: BASE_DOC ::

API

Tabs Props

name | type | default | description | required -- | -- | -- | -- | -- animation | Object | - | Typescript:TabAnimation type TabAnimation = { duration: number } & Record<string, any>see more ts definition | N external-classes | Array | - | ['t-class', 't-class-item', 't-class-active', 't-class-track'] | N placement | String | top | options:left/top | N show-bottom-line | Boolean | true | - | N sticky | Boolean | false | - | N sticky-props | Object | - | Typescript:StickyPropsSticky API Documentssee more ts definition | N swipeable | Boolean | true | - | N value | String / Number | - | Typescript:TabValue type TabValue = string | numbersee more ts definition | N default-value | String / Number | undefined | uncontrolled property。Typescript:TabValue type TabValue = string | numbersee more ts definition | N

Tabs Events

name | params | description -- | -- | -- change | (value: TabValue, label: string) | - click | (value: TabValue, label: string) | - scroll | ({ scrollTop: number, isFixed: boolean }) | -

TabPanel Props

name | type | default | description | required -- | -- | -- | -- | -- destroy-on-hide | Boolean | true | - | N disabled | Boolean | false | - | N label | String | - | - | N panel | String / Slot | - | - | N value | String / Number | - | Typescript:TabValue | N