https://github.com/vovanr/scroll-buttons
Scrolls list on buttons hover
https://github.com/vovanr/scroll-buttons
Last synced: 3 months ago
JSON representation
Scrolls list on buttons hover
- Host: GitHub
- URL: https://github.com/vovanr/scroll-buttons
- Owner: VovanR
- License: mit
- Created: 2015-06-19T16:51:04.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-02-25T19:40:21.000Z (over 8 years ago)
- Last Synced: 2025-03-22T01:26:20.801Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://jsfiddle.net/VovanR/7m4838yz/
- Size: 688 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scroll-buttons
[![Commitizen friendly][commitizen-image]][commitizen-url]
[![XO code style][codestyle-image]][codestyle-url]
[![NPM version][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]
[![Dependency Status][depstat-image]][depstat-url]
[![DevDependency Status][depstat-dev-image]][depstat-dev-url]
> Scrolls list on buttons hover ([demo][demo-url])
## Install
```shell
npm install --save scroll-buttons
```
## Usage
```javascript
var ScrollButtons = require('scroll-buttons');
var scrollButtons = new ScrollButtons({
$scroll: $('.js-list__scroll'),
$buttons: $('.js-scroll-buttons__button'),
});
```

## Development
### Initialize
```shell
npm i
```
### Test
*In terminal*
```shell
npm run test
```
*In browser*
```shell
open ./text/index-test.html
```
### Lint
```shell
npm run lint
```
## License
MIT © [Vladimir Rodkin](https://github.com/VovanR)
[demo-url]: https://jsfiddle.net/VovanR/7m4838yz/
[commitizen-url]: http://commitizen.github.io/cz-cli/
[commitizen-image]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square
[codestyle-url]: https://github.com/sindresorhus/xo
[codestyle-image]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square
[npm-url]: https://npmjs.org/package/scroll-buttons
[npm-image]: http://img.shields.io/npm/v/scroll-buttons.svg?style=flat-square
[travis-url]: https://travis-ci.org/VovanR/scroll-buttons
[travis-image]: http://img.shields.io/travis/VovanR/scroll-buttons.svg
[depstat-url]: https://david-dm.org/VovanR/scroll-buttons
[depstat-image]: https://david-dm.org/VovanR/scroll-buttons.svg
[depstat-dev-url]: https://david-dm.org/VovanR/scroll-buttons
[depstat-dev-image]: https://david-dm.org/VovanR/scroll-buttons/dev-status.svg