-
pazguille/viewport · GitHub javascript library Monday, June 17, 2013
pazguille/viewport · GitHub
pazguille/viewport · GitHub
javascript library
Jun 17, 2013
Extracted Page: https://github.com/pazguille/viewport
Viewport is a component to ease viewport management. You can get the dimensions of the viewport and beyond, which can be quite helpful to perform some checks with JavaScript.
It's cross-browser compatible:
- Chrome
- Firefox
- Opera
- Safari
- IE9
- IE8
- IE7
- Opera Mobile 12
- Safari Mobile
Installation
$ component install pazguille/viewport
See: https://github.com/component/component
Standalone
Also, you can use it without components.
<script src="../standalone/viewport.js"></script>
How-to
First, add the following meta viewport:
<meta name="viewport" con
Additional text has been truncated due to copyright reasons. Things without URLs and private things don't get truncated.