-1

I am new to react native, I used a drawer menu, but how to know it's state, i.e, is there something like

_drawer.is_Open() 

?

Tamimi
  • 3
  • 2
  • I'm unfamiliar with the particular control there, but a brief reading of that documentation suggests `_drawer.open`, right? – LexyStardust Dec 18 '17 at 17:29

1 Answers1

0

It looks like you can just examine the _open property.

_drawer._open

https://github.com/root-two/react-native-drawer/blob/master/index.js#L18

roktechie
  • 1,345
  • 1
  • 10
  • 15