[new feature] Picker: add title slot (#2811)

This commit is contained in:
neverland
2019-02-20 21:00:57 +08:00
committed by GitHub
parent da91631b0d
commit ea36edbd1a
5 changed files with 55 additions and 9 deletions
+5
View File
@@ -147,6 +147,11 @@ Picker events will pass different parameters according to the columns are single
| cancel | Triggered when click cancel button | Single columncurrent valuecurrent index<br>Multiple columnscurrent valuescurrent indexes |
| change | Triggered when current option changed | Single columnPicker instance, current valuecurrent index<br>Multiple columnsPicker instance, current valuescolumn index |
### Slot
| name | Description |
|------|------|
| title | Custom title |
### Data struct of columns