ado5 3903c18ce2 first commit | 9 ماه پیش | |
---|---|---|
.. | ||
README.en-US.md | 9 ماه پیش | |
README.md | 9 ماه پیش | |
picker-item-props.d.ts | 9 ماه پیش | |
picker-item-props.js | 9 ماه پیش | |
picker-item.d.ts | 9 ماه پیش | |
picker-item.js | 9 ماه پیش | |
picker-item.json | 9 ماه پیش | |
picker-item.wxml | 9 ماه پیش | |
picker-item.wxss | 9 ماه پیش | |
picker.d.ts | 9 ماه پیش | |
picker.js | 9 ماه پیش | |
picker.json | 9 ماه پیش | |
picker.wxml | 9 ماه پیش | |
picker.wxss | 9 ماه پیش | |
props.d.ts | 9 ماه پیش | |
props.js | 9 ماه پیش | |
type.d.ts | 9 ماه پیش | |
type.js | 9 ماه پیش |
:: BASE_DOC ::
name | type | default | description | required
-- | -- | -- | -- | --
auto-close | Boolean | true | - | N
cancel-btn | String / Boolean / Object | true | Typescript:boolean \| string \| ButtonProps
| N
columns | Array / Function | [] | required。Typescript:Array<PickerColumn> \| ((item: Array<PickerValue>) => Array<PickerColumn>)
type PickerColumn = PickerColumnItem[]
interface PickerColumnItem { label: string,value: string}
。see more ts definition | Y
confirm-btn | String / Boolean / Object | true | Typescript:boolean \| string \| ButtonProps
,Button API Documents。see more ts definition | N
custom-style v0.25.0
| String | - | - | N
footer | Slot | - | - | N
header | Boolean / Slot | true | - | N
render-label | String / Function | - | Typescript:(item: PickerColumnItem) => string
| 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 | (detail: { value: Array<PickerValue>; columns: Array<{ column: number; index: number }> })
| -
confirm | (value: Array<PickerValue>, context: {index: number[] })
| -
pick | (value: Array<PickerValue>,context: PickerContext)
| -