You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joe 9b449c2688 first commit 2 years ago
..
README.en-US.md first commit 2 years ago
README.md first commit 2 years ago
props.d.ts first commit 2 years ago
props.js first commit 2 years ago
tab-bar.d.ts first commit 2 years ago
tab-bar.js first commit 2 years ago
tab-bar.json first commit 2 years ago
tab-bar.wxml first commit 2 years ago
tab-bar.wxss first commit 2 years ago
type.d.ts first commit 2 years ago
type.js first commit 2 years ago

README.en-US.md

:: BASE_DOC ::

API

TabBar Props

name type default description required
bordered Boolean true - N
external-classes Array - ['t-class'] N
fixed Boolean true - N
safe-area-inset-bottom Boolean true - N
shape String normal optionsnormal/round N
split Boolean true - N
theme String normal optionsnormal/tag N
value String / Number / Array null Typescriptstring | number | Array<string | number> N
default-value String / Number / Array undefined uncontrolled property。Typescriptstring | number | Array<string | number> N

TabBar Events

name params description
change (value: string | number) -

TabBarItem Props

name type default description required
badge-props Object - TypescriptBadgePropsBadge API Documentssee more ts definition N
icon String / Slot - - N
sub-tab-bar Array - TypescriptSubTabBarItem[] interface SubTabBarItem { value: string; label: string }see more ts definition N
value String / Number - - N