|
|
2 年 前 | |
|---|---|---|
| .. | ||
| README.en-US.md | 2 年 前 | |
| README.md | 2 年 前 | |
| picker.d.ts | 2 年 前 | |
| picker.js | 2 年 前 | |
| picker.json | 2 年 前 | |
| picker.wxml | 2 年 前 | |
| picker.wxss | 2 年 前 | |
| props.d.ts | 2 年 前 | |
| props.js | 2 年 前 | |
| type.d.ts | 2 年 前 | |
| type.js | 2 年 前 | |
:: BASE_DOC ::
name | type | default | description | required
-- | -- | -- | -- | --
auto-close | Boolean | true | - | N
cancel-btn | String / Boolean / Object | true | Typescript:boolean \| string \| ButtonProps | N
confirm-btn | String / Boolean / Object | true | Typescript:boolean \| string \| ButtonProps,Button API Documents。see more ts definition | N
footer | Slot | - | deprecated | N
header | Boolean / Slot | true | - | N
keys | Object | - | Typescript:KeysType | N
title | String | '' | - | N
value | Array | - | Typescript:Array<PickerValue> type PickerValue = string \| number。see more ts definition | N
default-value | Array | undefined | uncontrolled property。Typescript:Array<PickerValue> type PickerValue = string \| number。see more ts definition | N
visible | Boolean | false | - | N
name | params | description
-- | -- | --
cancel | - | -
change | (value: Array<PickerValue>, label: string, columns: Array<{ column: number; index: number }> ) | -
close | (trigger: TriggerSource) | 1.0.1。see more ts definition。type TriggerSource = 'overlay' \| 'cancel-btn' \| 'confrim-btn'
confirm | (value: Array<PickerValue>, label: string, columns: Array<{ column: number; index: number }> ) | -
pick | (value: Array<PickerValue>, label: string, column: number, index: number) | -
name | type | default | description | required
-- | -- | -- | -- | --
format | Function | - | Typescript:(option: PickerItemOption) => string | N
options | Array | [] | Typescript:PickerItemOption[] interface PickerItemOption { label: string; value: string \| number }。see more ts definition | N