bright-scroll
v1.0.0
Published
A simulation with JavaScript native page scrolling lightweight library
Downloads
4
Readme
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-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
<script src="../dist/bright-scroll.min.js"></script>
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.
Development
Installation depends
npm install
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.
License
Copyright (c) 2016 HcySunYang