viewport-position

0.1.1 • Public • Published

viewport-position Build Status

Get the current viewport position of target window

Installation

npm install viewport-position

Usage

var viewportPosition = require('viewport-position')

viewportPosition(/* (optional) target window object */)
// => { top, right, left, bottom, width, height }

License

MIT

Package Sidebar

Install

npm i viewport-position

Weekly Downloads

507

Version

0.1.1

License

MIT

Last publish

Collaborators

  • kyungw00k