KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a simple JavaScript solution for this that is device- and library agnostic? I'd like to add a class to the html element so I can deliver scrollable containers to mobile when possible. This would be a similar approach that Modernizr takes, detecting feature support instead of browser detection. I just don't want to use the whole Modernizr framework. Trying to keep the JavaScript light for a mobile project. Thanks!
Tags (comma-separated)
Save Edits
Cancel