- Added orientation support
- Drawer can now be closed by swipping it
- Added example project
- Fixed possuble undefined value when swipping.
- Added types declaration to NPM package.json
- Package has been re-written using TypeScript!
- The 'jetemit' dependancy has been removed in favour of a in-built event system (zero dependancies 🚀).
- Height / Width of drawer can now be provided as a percentage or absolute value (e.g.
"80%"
|425
) - The library no longer monkey patches the RNN Navigation method. Instead the drawer can be toggled using
RNNDrawer.showDrawer(options: Layout)
orRNNDrawer.dismissDrawer(options: Layout)
. - Fixed #8 with undefined listenr.
- Drawers are now created using a
create
method onRNNDrawer