WGShare.Client.Wx/miniprogram_npm/tdesign-miniprogram/tabs
yj d281aab5b3 Initial Commit 2024-11-11 14:16:29 +08:00
..
README.en-US.md Initial Commit 2024-11-11 14:16:29 +08:00
README.md Initial Commit 2024-11-11 14:16:29 +08:00
index.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
index.js Initial Commit 2024-11-11 14:16:29 +08:00
props.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
props.js Initial Commit 2024-11-11 14:16:29 +08:00
tabs.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
tabs.js Initial Commit 2024-11-11 14:16:29 +08:00
tabs.json Initial Commit 2024-11-11 14:16:29 +08:00
tabs.wxml Initial Commit 2024-11-11 14:16:29 +08:00
tabs.wxs Initial Commit 2024-11-11 14:16:29 +08:00
tabs.wxss Initial Commit 2024-11-11 14:16:29 +08:00
type.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
type.js Initial Commit 2024-11-11 14:16:29 +08:00

README.en-US.md

:: 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