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

Don't require `content` property if `slideContent` is false

JacobDB opened this issue · comments

If someone sets slideContent to false, the content property should not be a required parameter, since SuperSlide isn't interacting with the content in that circumstance.

Currently if slideContent is false, and no content is set, an error occurs in the console.