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

README.en-US.md

:: BASE_DOC ::

API

Switch Props

name type default description required
custom-value Array [true, false] TypescriptArray<SwitchValue> N
disabled Boolean false - N
icon Array [] Typescriptstring[] N
label Array [] Typescriptstring[] N
loading Boolean false - N
size String medium optionssmall/medium/large N
style String - - N
value String / Number / Boolean null TypescriptSwitchValue type SwitchValue = string | number | booleansee more ts definition N
default-value String / Number / Boolean undefined uncontrolled property。TypescriptSwitchValue type SwitchValue = string | number | booleansee more ts definition N

Switch Events

name params description
change (value: SwitchValue) -