Update rc-select

This commit is contained in:
Wei Zhu 2017-11-19 20:14:53 +08:00
parent 076c40ac31
commit bf4ad93f2c
3 changed files with 3 additions and 1 deletions

View File

@ -55,6 +55,7 @@ Select component to select value from options.
| onFocus | Called when focus | function | - |
| onMouseEnter | Called when mouse enter | function | - |
| onMouseLeave | Called when mouse leave | function | - |
| onPopupScroll | Called when dropdown scrolls | function | - |
| onSearch | Callback function that is fired when input changed. | function(value: string) | |
| onSelect | Called when a option is selected, the params are option's value (or key) and option instance. | function(value, option) | - |

View File

@ -56,6 +56,7 @@ title: Select
| onFocus | 获得焦点时回调 | function | - |
| onMouseEnter | 鼠标移入时回调 | function | - |
| onMouseLeave | 鼠标移出时回调 | function | - |
| onPopupScroll | 下拉列表滚动时的回调 | function | - |
| onSearch | 文本框值变化时回调 | function(value: string) | |
| onSelect | 被选中时调用,参数为选中项的 value (或 key) 值 | function(value, option) | - |

View File

@ -64,7 +64,7 @@
"rc-pagination": "~1.12.4",
"rc-progress": "~2.2.2",
"rc-rate": "~2.2.0",
"rc-select": "~7.1.0",
"rc-select": "~7.2.0",
"rc-slider": "~8.4.0",
"rc-steps": "~3.0.0",
"rc-switch": "~1.6.0",