|
2 years ago | |
---|---|---|
.. | ||
README.en-US.md | 2 years ago | |
README.md | 2 years ago | |
index.d.ts | 2 years ago | |
index.js | 2 years ago | |
props.d.ts | 2 years ago | |
props.js | 2 years ago | |
tabs.d.ts | 2 years ago | |
tabs.js | 2 years ago | |
tabs.json | 2 years ago | |
tabs.wxml | 2 years ago | |
tabs.wxs | 2 years ago | |
tabs.wxss | 2 years ago | |
type.d.ts | 2 years ago | |
type.js | 2 years ago |
:: BASE_DOC ::
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
show-bottom-line | Boolean | true | - | N
space-evenly | Boolean | true | - | N
sticky | Boolean | false | - | N
sticky-props | Object | - | Typescript:StickyProps
,Sticky API Documents。see more ts definition | N
swipeable | Boolean | true | - | N
theme | String | line | options:line/tag/card | N
value | String / Number | - | Typescript:TabValue
type TabValue = string \| number
。see more ts definition | N
default-value | String / Number | undefined | uncontrolled property。Typescript:TabValue
type TabValue = string \| number
。see more ts definition | N
name | params | description
-- | -- | --
change | (value: TabValue, label: string)
| -
click | (value: TabValue, label: string)
| -
scroll | (scrollTop: number, isFixed: boolean)
| -
name | type | default | description | required
-- | -- | -- | -- | --
badge-props | Object | null | - | N
destroy-on-hide | Boolean | true | - | N
disabled | Boolean | false | - | N
icon | String / Object | - | 1.0.0-rc.1
| N
label | String | - | - | N
panel | String / Slot | - | - | N
value | String / Number | - | Typescript:TabValue
,Tabs API Documents。see more ts definition | N