|
@@ -939,7 +939,7 @@ function Demo() {
|
|
|
| onCancel | Cancel the callback when selected, enter the reference as the value of the last confirmed selection, only `type` equals "dateTime"or "dateTimeRange" and `needConfirm` equals true | <ApiType detail='(date: DateType, dateStr: StringType) => void'>(date, dateString) => void</ApiType> | | **0.18.0** |
|
|
|
| onChange | A callback when the value changes | <ApiType detail='(date: DateType, dateString: StringType) => void'>(date, dateString) => void</ApiType> | | |
|
|
|
| onClear | A callback when click the clear button | (event) => void | () => {} | **1.16.0** |
|
|
|
-| onClickOutSide | When the pop-up layer is in a display state, click the non-popup layer and trigger callback | () => void | () => {} | **2.31.0** |
|
|
|
+| onClickOutSide | When the pop-up layer is in a display state, click the non-popup layer and trigger callback, event parameter is supported since 2.68.0 | (event: React.mouseEvent) => void | () => {} | **2.31.0** |
|
|
|
| onConfirm | Confirm the callback at the time of selection, enter the reference as the value of the current selection, only `type` equals "dateTime" or "dateTimeRange" and `needConfirm` equals true | <ApiType detail='(date: DateType, dateStr: StringType) => void'>(date, dateString) => void</ApiType>| | **0.18.0** |
|
|
|
| onFocus | Callback when focus is obtained. It is not recommended to use this API in range selection | (event) => void | () => {} | **1.0.0** |
|
|
|
| onOpenChange | Callback when popup open or close | (isOpen) => void | | |
|