Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shinnn/get-scrollmax-x.js

Get the value equivalent to window.scrollMaxX
https://github.com/shinnn/get-scrollmax-x.js

Last synced: 27 days ago
JSON representation

Get the value equivalent to window.scrollMaxX

Awesome Lists containing this project

README

        

# get-scrollmax-x.js

[![Bower version](https://badge.fury.io/bo/get-scrollmax-x.svg)](http://badge.fury.io/bo/get-scrollmax-x)
[![NPM version](https://badge.fury.io/js/get-scrollmax-x.svg)](http://badge.fury.io/js/get-scrollmax-x)
[![Build Status](https://travis-ci.org/shinnn/get-scrollmax-x.js.svg?branch=master)](https://travis-ci.org/shinnn/get-scrollmax-x.js)
[![devDependency Status](https://david-dm.org/shinnn/get-scrollmax-x.js/dev-status.svg)](https://david-dm.org/shinnn/get-scrollmax-x.js#info=devDependencies)

[![browser support](https://ci.testling.com/shinnn/get-scrollmax-x.js.png)](https://ci.testling.com/shinnn/get-scrollmax-x.js)

Cross-browser library to get the value equivalent to [`window.scrollMaxX`](https://developer.mozilla.org/docs/Web/API/window.scrollMaxX)

## Installation

### Install with package manager

#### [Bower](http://bower.io/)

```
bower i --save get-scrollmax-x
```

#### [Component](http://component.io/)

```
component install shinnn/get-scrollmax-x.js
```

#### [npm](https://www.npmjs.org/) (Use with [Browserify](http://browserify.org/) etc.)

```
npm i --save get-scrollmax-x
```
### Standalone

[Download the script file directly.](https://raw.githubusercontent.com/shinnn/get-scrollmax-x.js/master/dist/get-scrollmax-x.js "view raw")

## API

### getScrollMaxX()

Return: `Number`

## License

Copyright (c) 2014 [Shinnosuke Watanabe](https://github.com/shinnn)

Licensed under [the MIT LIcense](./LICENSE).