Benjy Cui
|
03d09b66e8
|
docs: update demo format
|
9 years ago |
afc163
|
04f747770e
|
fix(docs), confirm demo & docs
|
9 years ago |
Benjy Cui
|
c1659c2ce3
|
style: update code style to please lint
|
9 years ago |
Benjy Cui
|
9d022ff84c
|
style: update code style to please lint
|
9 years ago |
afc163
|
6700dbba2a
|
Fix Modal onCancel argument, ref #980
|
9 years ago |
Benjy Cui
|
68b51e298d
|
style: update code style for space-before-function-paren
|
9 years ago |
afc163
|
66b7ee81ad
|
fix eslint problems, eslint-config-airbnb@4.x
|
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 |
shelwin
|
042f016dd4
|
update modal confirm demo
|
9 years ago |
Benjy Cui
|
b110b8787b
|
docs: update demos
|
9 years ago |
Benjy Cui
|
fdd9ef7d18
|
feat: Modal should support internationalization
|
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 |
afc163
|
5a50df6b78
|
use ghost button to match primary button
|
9 years ago |
afc163
|
cad3fdff45
|
lg => large, sm => small
|
9 years ago |
yiminghe
|
76b0f673ec
|
beta2
|
9 years ago |
afc163
|
ed7114e25e
|
update modal info
|
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
|
d6a4094bc4
|
Allow multiple confirm dialogs popup
|
9 years ago |
afc163
|
6dbb7ba8ba
|
update confirm modal button text
|
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
|
8c2c65adf4
|
update modal custom.md
|
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
|
edc0f4bbc0
|
modal custom footer demo
|
9 years ago |
afc163
|
12b26137ea
|
Add confirm button loading effect for modal
|
9 years ago |
yiminghe
|
0a7410973e
|
clean warning
|
10 years ago |
yiminghe
|
82913b8610
|
support promise for modal
|
10 years ago |
yiminghe
|
abcdaddcaa
|
support promise for modal
|
10 years ago |
afc163
|
74c30f4128
|
update modal style
|
10 years ago |
afc163
|
4adae8b3ed
|
fix modal style
|
10 years ago |
afc163
|
22c48941e9
|
tweak code style
|
10 years ago |
yiminghe
|
d5f760f9e7
|
remove ref
|
10 years ago |
afc163
|
646c6853d6
|
move confirm into modal
|
10 years ago |
afc163
|
b5ae8925f2
|
update modal demos
|
10 years ago |
afc163
|
0cbf1b9cc3
|
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 |