ddcat1115
|
e07cdf5387
|
add left out event parameters for Modal[onOk] Popconfirm[onConfirm] Popconfirm[onCancel] (#5042)
|
8 years ago |
afc163
|
5e0f5e1902
|
rewrite Modal demos to es6 component, #4878
|
8 years ago |
Benjy Cui
|
200b88246f
|
docs: update docs format
|
8 years ago |
Benjy Cui
|
3e17551b7e
|
site: improve build speed
|
8 years ago |
afc163
|
bbe6606dc3
|
fix demo
|
8 years ago |
Gray Choi
|
5c2087311f
|
docs: translate modal (#2634)
|
8 years ago |
Benjy Cui
|
2144349741
|
style: enable react/jsx-closing-bracket-location
|
9 years ago |
Benjy Cui
|
ecaa6c56c3
|
style: enable comma-dangle
|
9 years ago |
Benjy Cui
|
df3ba36720
|
docs: remove useless newline in documentation
|
9 years ago |
Benjy Cui
|
03d09b66e8
|
docs: update demo format
|
9 years ago |
afc163
|
6700dbba2a
|
Fix Modal onCancel argument, ref #980
|
9 years ago |
Benjy Cui
|
aa5c4f9595
|
style: update code style to please lint
|
9 years ago |
Benjy Cui
|
209170e813
|
style: update demo code style to please lint
|
9 years ago |
afc163
|
91bd7f22c0
|
use mountNode replace the long getElementById
|
9 years ago |
afc163
|
16abf46071
|
Fix markdown eslint errors, update .eslintrc
|
9 years ago |
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 |