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.
lsl 7e355978ae
初始化提交代码
3 years ago
..
README.en-US.md 初始化提交代码 3 years ago
README.md 初始化提交代码 3 years ago
dropdown-menu.d.ts 初始化提交代码 3 years ago
dropdown-menu.js 初始化提交代码 3 years ago
dropdown-menu.json 初始化提交代码 3 years ago
dropdown-menu.wxml 初始化提交代码 3 years ago
dropdown-menu.wxss 初始化提交代码 3 years ago
index.d.ts 初始化提交代码 3 years ago
index.js 初始化提交代码 3 years ago
props.d.ts 初始化提交代码 3 years ago
props.js 初始化提交代码 3 years ago
type.d.ts 初始化提交代码 3 years ago
type.js 初始化提交代码 3 years ago

README.en-US.md

:: BASE_DOC ::

API

DropdownMenu Props

name type default description required
close-on-click-overlay Boolean true - N
duration String / Number 200 - N
external-classes Array - ['t-class', 't-class-item', 't-class-label', 't-class-icon'] N
show-overlay Boolean true - N
z-index Number 11600 - N

DropdownItem Props

name type default description required
disabled Boolean false - N
external-classes Array - ['t-class','t-class-content', 't-class-column', 't-class-column-item', 't-class-column-item-label', 't-class-footer'] N
keys Object - TypescriptKeysType N
label String - - N
multiple Boolean false - N
options Array [] TypescriptArray<DropdownOption> interface DropdownOption { label: string; disabled: boolean; value: DropdownValue; }see more ts definition N
options-columns String / Number 1 - N
options-layout String columns deprecated N
value String / Number / Array undefined TypescriptDropdownValue type DropdownValue = string | number | Array<DropdownValue>;see more ts definition N
default-value String / Number / Array undefined uncontrolled property。TypescriptDropdownValue type DropdownValue = string | number | Array<DropdownValue>;see more ts definition N

DropdownItem Events

name params description
change (value: DropdownValue) -
confirm (value: DropdownValue) -
reset - -