finger-mover
| Install | |
|---|---|
npm install finger-mover |
|
| Latest Version: | 1.4.3 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Sep 6, 2018 |
| Links: | GitHub · npm |
Intro
finger-mover is a motion effect library that integrates
Fingerd (a development kit for finger unit event management in mobile development)
and
Moved (a micro movement framework). finger-mover provides many useful plugins, such as Vertical scroll simulation (simulation-scroll-y.js), Horizontal scroll simulation (simulation-scroll-x.js) and so on.
Docs
Features
-
Just 11.12KB after compression
-
Plugin support, motion components are available as plug-ins, thsi is a plug-in list:
Install
NPM
npm install --save finger-mover
yarn
yarn add finger-mover
finger-mover released as a umd module. You can use it in any way for your favorite. You can get global variable Fmover by serving as <script> tag.
Usage
// Import finger-mover
import Fmover from 'finger-mover'
// Import vertical scroll simulation plugin simulation-scroll-y
import simulationScrollY from 'simulation-scroll-y'
// Import horizontal scroll simulation plugin simulation-scroll-x
import simulationScrollX from 'simulation-scroll-x'
// While using both simulation-scroll-y and simulation-scroll-x plugins to implement 2D scrolling
let fm = new Fmover({
el: '#scroll-box',
plugins: [
simulationScrollX(),
simulationScrollY()
]
})
package
Fingerd
Fingerdis a development kit for finger unit event management in mobile development
Moved
Movedis a micro movement framework.
Contribution
Contributions are welcome! Open a pull request to fix a bug, or open an issue to discuss a new feature or change.
Credits
Thanks Ri Xu provides web hosting service and doc translation.
License
Copyright (c) 2017 - 2018, HcySunYang
Related Packages
webpack plugin to find duplicated dependencies from your bundle
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.4.3 | ^2.3.3 | MIT | |
| 1.4.2 | ^2.3.3 | MIT | |
| 1.4.0 | ^2.3.3 | MIT | |
| 1.3.3 | ^2.3.3 | MIT | |
| 1.3.2 | ^2.3.3 | MIT | |
| 1.3.1 | ^2.3.3 | MIT | |
| 1.2.9 | ^2.3.3 | MIT | |
| 1.2.7 | ^2.3.3 | MIT | |
| 1.2.6 | ^2.3.3 | MIT | |
| 1.2.3 | ^2.3.3 | MIT | |
| 1.2.1 | ^2.3.3 | MIT | |
| 1.2.0 | ^2.3.3 | MIT | |
| 1.1.9 | ^2.3.3 | MIT | |
| 1.1.8 | ^2.3.3 | MIT | |
| 1.1.7 | ^2.3.3 | MIT | |
| 1.1.6 | ^2.3.3 | MIT | |
| 1.1.5 | ^2.3.3 | MIT | |
| 1.1.4 | ^2.3.3 | MIT | |
| 1.1.3 | MIT | ||
| 1.1.0 | MIT | ||
| 1.0.2 | MIT | ||
| 1.0.1 | MIT | ||
| 1.0.0 | MIT | ||
| 0.0.24 | MIT | ||
| 0.0.23 | MIT |
