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
@@ -155,3 +155,10 @@ Vue.use(Button);
| ---------- | ---------------------------------------- | ------------------- |
| click | 点击按钮,且按钮状态不为加载或禁用时触发 | _event: Event_ |
| touchstart | 开始触摸按钮时触发 | _event: TouchEvent_ |
### Slots
| 名称 | 说明 |
| ----------------- | -------------- |
| default | 按钮内容 |
| loading `v2.10.1` | 自定义加载图标 |