afc163
|
753c01ae18
|
ES6 syntax for demo code
fix antd.notification
|
9 years ago |
afc163
|
e19186f783
|
confirmLoading is fully controlled by props now, fix #392
|
9 years ago |
yiminghe
|
76b0f673ec
|
beta2
|
9 years ago |
Benjy Cui
|
5b86a4be1d
|
refactor: replace `button` tag with `Button` component
|
9 years ago |
afc163
|
176adab763
|
update modal basic demo
|
9 years ago |
afc163
|
c5cab1d687
|
Add confirmLoading prop for Modal
You can use `confirmLoading` to cancel button loading status.
```
onOk() {
...
this.setState({
confirmLoading: false
});
}
```
Fix #322
|
9 years ago |
afc163
|
0ac1f76553
|
Fix visible state bug in handleCancel
|
9 years ago |
afc163
|
a63e2f8c0c
|
Remove console.log
|
9 years ago |
afc163
|
75d710a1b8
|
Add some info type Modal, close #244
|
9 years ago |
afc163
|
ee8335856c
|
Only listen mousemove once
初始化时监听, 共享同一个 mousePosition
|
9 years ago |
afc163
|
56b06e168f
|
get mousePosition from mousemove listener for more elegant API
|
9 years ago |
afc163
|
1c5e3485e7
|
Fix cancel button can not close modal
1. 关闭取消按钮的修复
2. 优化 loading 按钮的效果
|
9 years ago |
yiminghe
|
867c4f2a85
|
support mousePosition
|
9 years ago |
afc163
|
9d5e0a2e58
|
remove unused state visible
|
9 years ago |
afc163
|
539ac64998
|
除了自定义页脚外,点击取消不需要手动设置关闭
|
9 years ago |
afc163
|
12b26137ea
|
Add confirm button loading effect for modal
|
9 years ago |
yiminghe
|
82913b8610
|
support promise for modal
|
10 years ago |
afc163
|
74c30f4128
|
update modal style
|
10 years ago |
afc163
|
22c48941e9
|
tweak code style
|
10 years ago |
yiminghe
|
d5f760f9e7
|
remove ref
|
10 years ago |
afc163
|
b5ae8925f2
|
update modal demos
|
10 years ago |
afc163
|
2dc587269f
|
update modal demos
|
10 years ago |
yiminghe
|
c634b4d14c
|
add confirm
|
10 years ago |
afc163
|
ab6599b367
|
update modal demo
|
10 years ago |
yiminghe
|
3a9619ed68
|
update modal
|
10 years ago |
yiminghe
|
d3823e95d2
|
update modal
|
10 years ago |
afc163
|
196566039b
|
tweak code
|
10 years ago |
yiminghe
|
6b0dd1dffe
|
add modal
|
10 years ago |