反应本机抽屉状态
React native drawer states
我是 React Native 的新手,我使用了 drawer menu,但如何知道它的状态,即是否有类似
的东西
_drawer.is_Open()
?
看来您可以检查 _open 属性。
_drawer._open
https://github.com/root-two/react-native-drawer/blob/master/index.js#L18
我是 React Native 的新手,我使用了 drawer menu,但如何知道它的状态,即是否有类似
的东西_drawer.is_Open()
?
看来您可以检查 _open 属性。
_drawer._open
https://github.com/root-two/react-native-drawer/blob/master/index.js#L18