osrec / SuperSlide.js

A flexible, smooth, GPU accelerated sliding menu for your next PWA
https://osrec.co.uk/products/superslidejs
GNU General Public License v3.0
490 stars 21 forks source link

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

Open JacobDB opened 5 years ago

JacobDB commented 5 years ago

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.