feat(Button): add loading slot (#6966)

This commit is contained in:
neverland
2020-08-09 08:10:44 +08:00
committed by GitHub
parent 3d8798ce3f
commit 927268cc25
5 changed files with 50 additions and 9 deletions
+7
View File
@@ -132,3 +132,10 @@ Vue.use(Button);
| --- | --- | --- |
| click | Triggered when click button and not disabled or loading | _event: Event_ |
| touchstart | Triggered when touch start | _event: TouchEvent_ |
### Slots
| Name | Description |
| ----------------- | ------------------- |
| default | Default slot |
| loading `v2.10.1` | Custom loading icon |