feat(Area): add title slot (#5719)

This commit is contained in:
chenjiahan
2020-02-25 19:20:29 +08:00
parent a5acd379f7
commit 7344389535
6 changed files with 61 additions and 1 deletions
+6
View File
@@ -79,6 +79,12 @@ Set `columns-num` with 2, you'll have a 2 level picker.
| cancel | triggers when clicking the cancel button | - |
| change | Triggered when current option changed | Picker instance, current valuescolumn index |
### Slots
| Name | Description |
|------|------|
| title `v2.5.3` | Custom title |
### Methods
Use [ref](https://vuejs.org/v2/api/#ref) to get Area instance and call instance methods