You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kgdxpr e69712b1d2
'commit'
1 year ago
..
README.en-US.md 'commit' 1 year ago
README.md 'commit' 1 year ago
index.d.ts 'commit' 1 year ago
index.js 'commit' 1 year ago
props.d.ts 'commit' 1 year ago
props.js 'commit' 1 year ago
tabs.d.ts 'commit' 1 year ago
tabs.js 'commit' 1 year ago
tabs.json 'commit' 1 year ago
tabs.wxml 'commit' 1 year ago
tabs.wxs 'commit' 1 year ago
tabs.wxss 'commit' 1 year ago
type.d.ts 'commit' 1 year ago
type.js 'commit' 1 year ago

README.en-US.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

:: BASE_DOC ::

API

Tabs Props

name type default description required
animation Object - TypescriptTabAnimation 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 - TypescriptStickyPropsSticky API Documentssee more ts definition N
swipeable Boolean true - N
theme String line optionsline/tag/card N
value String / Number - TypescriptTabValue type TabValue = string | numbersee more ts definition N
default-value String / Number undefined uncontrolled property。TypescriptTabValue 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
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 - TypescriptTabValueTabs API Documentssee more ts definition N