osrec / SuperSlide.js

A flexible, smooth, GPU accelerated sliding menu for your next PWA

Home Page:https://osrec.co.uk/products/superslidejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

desktop fix left

navinSing opened this issue · comments

Is there an option by which if it is desktop the menus will be fixed on the left (or the given position)

Not by default, however it should be fairly easy to implement:

  1. Determine if you're on desktop - use the user agent or width or something else (your choice!)
  2. If yes, then don't create the superslide object. If no, then create it.

Putting this in the library may be an option - we'll think about adding it in the next release :)