iamdustan / smoothscroll

Scroll Behavior polyfill
http://iamdustan.com/smoothscroll/
MIT License
3.85k stars 340 forks source link

Show that functionality is polyfilled #119

Open selbekk opened 6 years ago

selbekk commented 6 years ago

First off, thanks for an amazing library! It's easy to use and just a pleasure to work with.

I am creating my own library, where I want to warn the developer (in development) when this polyfill isn't loaded while not being supported by the browser. Basically, if the developer has forgot to add your polyfill.

Looking at the source code, I can't tell how to actually accomplish this. Is there a flag or something I could look for? I'd be more than happy to contribute a pull request if this is something you want to support.

Diokuz commented 5 years ago

Have the same problem, please, make a flag in the window.