MCPcopy Index your code
hub / github.com/HcySunYang/finger-mover

github.com/HcySunYang/finger-mover @1.3.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.3.3 ↗ · + Follow
140 symbols 284 edges 18 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

English中文文档

Features

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

Fingerd is a development kit for finger unit event management in mobile development

Moved

Moved is 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

MIT

Copyright (c) 2017 - 2018, HcySunYang

Core symbols most depended-on inside this repo

transform
called by 31
src/moved/moved.js
cssText
called by 21
src/shared/util.js
stop
called by 14
src/moved/moved.js
getStyle
called by 11
src/shared/util.js
start
called by 8
src/moved/moved.js
extend
called by 6
src/shared/util.js
throwError
called by 5
src/shared/util.js
toArray
called by 5
src/shared/util.js

Shape

Function 94
Method 36
Class 10

Languages

TypeScript100%

Modules by API surface

src/plugins/fmover-slide-y/fmover-slide-y.js19 symbols
src/plugins/fmover-slide-x/fmover-slide-x.js19 symbols
src/plugins/simulation-scroll-y/simulation-scroll-y.js15 symbols
src/fingerd/tevent.js14 symbols
src/shared/util.js13 symbols
src/plugins/simulation-scroll-x/simulation-scroll-x.js13 symbols
src/index.js12 symbols
src/fingerd/fingerd.js12 symbols
src/moved/animationframe.js9 symbols
src/moved/moved.js8 symbols
src/plugins/picker/picker.js5 symbols
test/unit/index.spec.js1 symbols

For agents

$ claude mcp add finger-mover \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page