rmolinamir / hero-slider

A hero slider component. Includes autoplay, touch swiping, multiple navs, event callbacks, and more.
https://rmolinamir.github.io/hero-slider/?path=/story/example-hero-slider--basic
102 stars 23 forks source link

Console.logs moved in a debug conditional #4

Closed MattHalloran closed 2 years ago

MattHalloran commented 3 years ago

Previously, there was no option to disable the console.logs. I was getting annoyed of all of the logging, so I moved the logs to a log function. It uses a debug variable to toggle the logs.