Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shinnn/get-scrollmax-x.js
- Owner: shinnn
- License: mit
- Created: 2014-04-20T21:02:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-07T14:16:58.000Z (over 10 years ago)
- Last Synced: 2024-10-11T20:29:00.856Z (about 1 month ago)
- Language: JavaScript
- Size: 309 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).