Touch side swipe Demo
Touch side swipe - widget-library for mobile navbar (writed on vanilla js and little bit css).
How to use demo
If you're in touch devise: touch (swipe) left window side to right
If you're in Chrome:
- Activate "Web-inspector"
- Activate "Toogle device toolbar"
- Reload window
- Touch (swipe) left window side to right
Public api-functions for call open/close *:
( and you can use touchSideSwipe.tssOpen() and touchSideSwipe.tssClose() only when window inner width < option windowMaxWidth in config.
* or document.querySelector('.tss-label').click();