Logo
A
W
Z

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:

  1. Activate "Web-inspector"
  2. Activate "Toogle device toolbar"
  3. Reload window
  4. 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();