StickyElements
:lipstick: Everything can stick. Just because.
Install / Use
/learn @iamvdo/StickyElementsREADME
Sticky Elements
Everything can stick. Just because.
Getting started
npm install stickyelements and insert dist/stickyelements-animate.js (or build your own bundle using src files)
Then, stick elements!
stickyElements('.item', {
stickiness: 5,
duration: 450
});
Arguments
CSS selector
- Elements that will stick to your mouse
Options
stickiness[Integer, Object]: How long elements remain stick to your mouse. If integer, apply samexandyvalues. If object, can containxand/orykey. Integer between 0 and 10. (Default:3)duration[Integer]: Duration in milliseconds of animation (using animateplus. (Default:450)pointer[Boolean]: Enable Pointer Events instead of Mouse Events. Elements will stick to mouse, touch and all input types (Default:false). Need PEP polyfill andtouch-actionattribute on each elements (follow PEP polyfill instructions).
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
