awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 个仓库

Awesome GitHub RepositoriesSnap Thresholds

Configurable pixel distances that determine whether a drag gesture snaps a UI element open or closed upon release.

Distinct from Gesture Thresholding: Distinct from Gesture Thresholding: focuses on the snap decision at release rather than general drag distance thresholds for state transitions.

Explore 1 awesome GitHub repository matching user interface & experience · Snap Thresholds. Refine with filters or upvote what's useful.

Awesome Snap Thresholds GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • jakiestfu/snap.jsjakiestfu 的头像

    jakiestfu/Snap.js

    5,952在 GitHub 上查看↗

    Snap.js is a JavaScript library for building draggable side navigation panels on touch devices. It enables slide-in menus from the left or right screen edge, driven by a gesture-based state machine that interprets drag and flick gestures to open and close the panel. The library distinguishes horizontal menu drags from vertical scrolling by analyzing the initial touch movement angle, and locks menu movement to a single axis to prevent interference. It uses hardware-accelerated CSS transforms for smooth animations and provides configurable snap thresholds that determine whether a drag should op

    Uses configurable pixel thresholds to decide whether a drag should snap the menu open or closed.

    JavaScript
    在 GitHub 上查看↗5,952
  1. Home
  2. User Interface & Experience
  3. Coordinate-Based Positioning
  4. Gesture Thresholding
  5. Snap Thresholds