1.0.3 • Published 9 years ago

screen-orientation v1.0.3

Weekly downloads
347
License
MIT
Repository
github
Last release
9 years ago

screen-orientation Build Status

Get the current screen orientation

Install

$ npm install --save screen-orientation

Usage

var screenOrientation = require('screen-orientation')

screenOrientation()
//=> {direction: 'landscape', version: 'primary'}

API

screenOrientation() -> object

Returns the current screen orientation (direction and version).

License

MIT © Ben Drucker

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago