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'
12 months ago
..
README.en-US.md 'commit' 12 months ago
README.md 'commit' 12 months ago
dropdown-menu.d.ts 'commit' 12 months ago
dropdown-menu.js 'commit' 12 months ago
dropdown-menu.json 'commit' 12 months ago
dropdown-menu.wxml 'commit' 12 months ago
dropdown-menu.wxss 'commit' 12 months ago
index.d.ts 'commit' 12 months ago
index.js 'commit' 12 months ago
props.d.ts 'commit' 12 months ago
props.js 'commit' 12 months ago
type.d.ts 'commit' 12 months ago
type.js 'commit' 12 months 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

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