diff --git a/en/react-native-gesture-handler.md b/en/react-native-gesture-handler.md index 6c1e92cf3936b8042a3b11110769b6c0a8f85f14..9c36849dfad291315c3433f2345d0b0a3e2bd57c 100644 --- a/en/react-native-gesture-handler.md +++ b/en/react-native-gesture-handler.md @@ -319,7 +319,7 @@ Properties | drawerType | A gesture object | 'front'\|'back'\|'slide' | All | yes | | edgewidth | allows for defining how far from the edge of the content view the gesture should activate. | number | All | yes | | hideStatusBar | when set to `true` Drawer component will use [StatusBar](https://reactnative.dev/docs/statusbar.html) API to hide the OS status bar whenever the drawer is pulled or when its in an "open" state. | boolean | All | yes | -| statusbaranimation | Can be used when `hideStatusBar` is set to `true` and will select the animation used for hiding/showing the status bar. | 'fade'\|'slide'\|'none' | All | yes | +| statusbaranimation | Can be used when `hideStatusBar` is set to `true` and will select the animation used for hiding/showing the status bar. | 'fade'\|'slide'\|'none' | All | no | | overlaycolor | of a semi-transparent overlay to be displayed on top of the content view when drawer gets open. | color | All | yes | | rendernavigationview | his attribute is present in the standard implementation already and is one of the required params. | function | All | yes | | ondrawerclose | This function is called when the drawer is closed. | function | All | yes | @@ -462,6 +462,8 @@ Y coordinate, expressed in points, of the current position of the pointer (finge ## Others +- [ ] statusbaranimation property is not supported due to the fact that Arkts bar only supports fade-in and fade-out animations, and the RN framework status bar animation is not supported. Issue: [issue#55](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler/issues/55) + ## License This project is licensed under [The MIT License (MIT)](https://github.com/react-native-oh-library/react-native-linear-gradient/blob/harmony/LICENSE). diff --git a/zh-cn/react-native-gesture-handler.md b/zh-cn/react-native-gesture-handler.md index 069c98e10f2c036d8ce9eb82f1c1eb0d752cdac3..4f7cc673ce9e9df9024930d72d98f052fab729ce 100644 --- a/zh-cn/react-native-gesture-handler.md +++ b/zh-cn/react-native-gesture-handler.md @@ -321,7 +321,7 @@ ReactButton 属性 | drawerType | A gesture object | 'front'\|'back'\|'slide' | All | yes | | edgewidth | allows for defining how far from the edge of the content view the gesture should activate. | number | All | yes | | hideStatusBar | when set to `true` Drawer component will use [StatusBar](https://reactnative.dev/docs/statusbar.html) API to hide the OS status bar whenever the drawer is pulled or when its in an "open" state. | boolean | All | yes | -| statusbaranimation | Can be used when `hideStatusBar` is set to `true` and will select the animation used for hiding/showing the status bar. | 'fade'\|'slide'\|'none' | All | yes | +| statusbaranimation | Can be used when `hideStatusBar` is set to `true` and will select the animation used for hiding/showing the status bar. | 'fade'\|'slide'\|'none' | All | no | | overlaycolor | of a semi-transparent overlay to be displayed on top of the content view when drawer gets open. | color | All | yes | | rendernavigationview | his attribute is present in the standard implementation already and is one of the required params. | function | All | yes | | ondrawerclose | This function is called when the drawer is closed. | function | All | yes | @@ -464,6 +464,8 @@ Y coordinate, expressed in points, of the current position of the pointer (finge ## 其他 +- [ ] statusbaranimation属性由于Arkts bar 只有淡出淡入动画和RN框架状态栏动画不支持,该功能暂不支持,问题: [issue#55](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler/issues/55) + ## 开源协议 本项目基于 [The MIT License (MIT)](https://github.com/react-native-oh-library/react-native-linear-gradient/blob/harmony/LICENSE) ,请自由地享受和参与开源。