js-utilities
Simple toolbox for Javascript developments.
Add js-utilities to your project
bower install morphet-js-utilities
Display
-
Display.viewportWidth()
returns the width of currently visible page content -
Display.viewportHeight()
returns the height of currently visible page content