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
cascader.d.ts 初始化提交代码 3 years ago
cascader.js 初始化提交代码 3 years ago
cascader.json 初始化提交代码 3 years ago
cascader.wxml 初始化提交代码 3 years ago
cascader.wxss 初始化提交代码 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

Cascader Props

name type default description required
close-btn Boolean / Slot true - N
keys Object - TypescriptKeysType N
options Array [] TypescriptArray<CascaderOption> N
sub-titles Array [] TypescriptArray<string> N
theme String step optionsstep/tab N
title String / Slot - - N
value String / Number null - N
default-value String / Number undefined uncontrolled property N
visible Boolean false - N

Cascader Events

name params description
change (value: string | number, selectedOptions: string[]) 1.0.1
close (trigger: TriggerSource) 1.0.1see more ts definition
type TriggerSource = 'overlay' | 'close-btn' | 'finish'
pick (value: string | number, index: number) 1.0.1