1.0.0 • Published 9 years ago
bright-scroll v1.0.0
bright-scroll
Easier to customize your business logic
Intro
bright-scroll.js is a lightweight, scalable, and has flexible and powerful API, which includes the following features:
- this library is very light, It provides basic page scrolling function
- other features have been expanded into an integrated way
- Easier to customize your business logic
Example
Basic scroll

Usage
Installation
Via npm install:
npm install --save bright-scrollThen you can use this:
improt BS from 'bright-scroll'You can also directly through the <script> tag to use dist / bright-scroll.min.js
<script src="../dist/bright-scroll.min.js"></script>But you have to use this
var BS = brightScroll.defaultIssues & Contribution
Contributions are welcome! Open a pull request to fix a bug, or open an issue to discuss a new feature or change.
Development
Installation depends
npm installStart development services
npm run server-exampleAll the source code in the src directory. According to the command line prompt, open development use case example directory that already exists in the browser. Or you can create a new use case development.
License
Copyright (c) 2016 HcySunYang