Easier to customize your business logic
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
Via npm install:
npm install --save bright-scroll
Then you can use this:
improt BS from 'bright-scroll'
You can also directly through the
<script> tag to use dist / bright-scroll.min.js
But you have to use this
var BS = brightScroll.default
Issues & Contribution
Contributions are welcome! Open a pull request to fix a bug, or open an issue to discuss a new feature or change.
Start development services
npm run server-example
All 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.
Copyright (c) 2016 HcySunYang