8 रिपॉजिटरी
Logic for determining state transitions based on drag distance thresholds.
Distinct from Coordinate-Based Positioning: Focuses on snapping logic based on distance thresholds rather than general coordinate-based placement.
Explore 8 awesome GitHub repositories matching user interface & experience · Gesture Thresholding. Refine with filters or upvote what's useful.
Slideout is a touch-gesture UI component and navigation menu designed for mobile web applications. It provides a side panel that slides across the screen to reveal navigation options, utilizing CSS transitions to animate the movement of the viewport. The component manages the expanded or collapsed state of the navigation menu and includes logic to restrict gestures for specific interface elements to prevent interaction conflicts. It employs a system for executing custom logic triggered by menu state transitions and user drag gestures.
Uses coordinate-based distance tracking to determine whether to snap the menu open or closed.
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.
यह React Native के लिए एक मोबाइल UI ओवरले लाइब्रेरी है जो एक एनिमेटेड मोडल कंपोनेंट प्रदान करती है। यह एक जेस्चर-रिस्पॉन्सिव इंटरफेस एलिमेंट के रूप में कार्य करता है जिसका उपयोग ओवरले विंडो के माध्यम से पूरक सामग्री प्रस्तुत करने के लिए किया जाता है जो कस्टम ट्रांजिशन और डायनामिक लेआउट समायोजन का समर्थन करती है। लाइब्रेरी में एक डायनामिक लेआउट ऑब्जर्वर है जो स्क्रीन रोटेशन के दौरान या ऑन-स्क्रीन कीबोर्ड दिखाई देने पर स्वचालित रूप से कंपोनेंट्स का आकार बदलता है और उन्हें रिपोजिशन करता है। यह जेस्चर-आधारित नेविगेशन लागू करती है, जिससे उपयोगकर्ता कॉन्फ़िगर किए गए स्वाइप जेस्चर और बैकड्रॉप इंटरैक्शन के माध्यम से ओवरले को हटा सकते हैं।
Triggers modal dismissal based on touch coordinates and velocity thresholds during swipe gestures.
Koloda is an iOS gesture interaction library and SwiftUI view component used to create swipeable card interfaces. It provides a stack-based view component that manages overlapping views, ensuring only the top-most element remains actively interactive. The library allows for the customization of card appearance, including the configuration of overlays and animations that dictate how background cards move during a swipe. It manages drag behavior and swipe directions, triggering specific logic when cards are swiped, tapped, or fully exhausted. The component covers the implementation of gesture-
Determines successful swipe actions by calculating the distance between touch points and a center threshold.
Zag एक हेडलेस UI स्टेट मशीन लाइब्रेरी है जो विभिन्न रेंडरिंग इंजनों में एक समान व्यवहार सुनिश्चित करने के लिए अनस्टाइल (unstyled) कंपोनेंट लॉजिक प्रदान करती है। यह स्टेटचार्ट्स का उपयोग करके जटिल यूजर इंटरफेस इंटरैक्शन को मॉडल करने के लिए एक टूलकिट के रूप में कार्य करती है, जो विज़ुअल स्टाइलिंग से अंतर्निहित लॉजिक और एक्सेसिबिलिटी एट्रिब्यूट्स को अलग करती है। यह लाइब्रेरी फ्रेमवर्क-अज्ञेयवादी (framework-agnostic) है, जो React, Solid, Vue और Svelte जैसी विभिन्न JavaScript लाइब्रेरी के साथ अपने स्टेट मशीन लॉजिक को जोड़ने के लिए विशेष एडेप्टर का उपयोग करती है। यह दृष्टिकोण डेवलपर्स को एक ही इंटरैक्शन मॉडल बनाए रखने की अनुमति देता है, जबकि स्टेट-संचालित डेटा एट्रिब्यूट्स के माध्यम से किसी भी CSS या स्टाइलिंग समाधान को लागू किया जा सकता है। Zag कार्यात्मक क्षेत्रों की एक विस्तृत श्रृंखला को कवर करती है, जिसमें कीबोर्ड नेविगेशन और ARIA एट्रिब्यूट्स के लिए व्यापक एक्सेसिबिलिटी प्रबंधन, और इंटरैक्टिव प्रिमिटिव्स का एक विशाल संग्रह शामिल है। इनमें इनपुट कंट्रोल्स, मेनू और टैब जैसे नेविगेशनल एलिमेंट्स, डायलॉग और पॉपओवर जैसे ओवरले कंपोनेंट्स, और इमेज क्रॉपिंग व सिग्नेचर कैप्चर के लिए जटिल मीडिया हैंडलिंग शामिल हैं। यह पदानुक्रमित डेटा प्रबंधन, एसिंक्रोनस लिस्ट हैंडलिंग और गाइडेड प्रोडक्ट टूर बनाने के लिए यूटिलिटीज भी प्रदान करती है।
Implements dismissal logic based on touch velocity and distance thresholds for UI panels.
SVPullToRefresh is a library for adding pull-to-refresh and infinite scrolling behaviors to UIKit scroll views on the iOS platform. It provides specialized user interface components that enable manual content refreshing and pagination within scrollable views. The library implements mechanisms to trigger data loading actions when a user pulls a scroll view from the top or reaches the bottom of a scrollable area. These triggers allow for syncing the latest information or appending more content to create continuous feeds.
Implements logic to trigger refresh actions based on specific scroll distance thresholds.
Phoenix मोबाइल और वेब व्यू के लिए डिज़ाइन किया गया एक पुल-टू-रिफ्रेश UI घटक और JavaScript जेस्चर लाइब्रेरी है। यह एक पुन: प्रयोज्य इंटरैक्शन पैटर्न प्रदान करता है जो उपयोगकर्ता द्वारा स्क्रीन को नीचे की ओर खींचने पर डेटा अपडेट को ट्रिगर करता है। प्रोजेक्ट में अनुकूलन योग्य विज़ुअल संकेतक और थीम्ड एनिमेशन शामिल हैं जो पुल ऑपरेशन की स्थिति पर प्रतिक्रिया करते हैं। इसमें मैनुअल स्टेट समन्वय के लिए तंत्र शामिल हैं, जो बाहरी नियंत्रकों को उपयोगकर्ता इनपुट से स्वतंत्र रूप से रिफ़्रेश अनुक्रमों को प्रोग्रामेटिक रूप से ट्रिगर या रद्द करने की अनुमति देते हैं। सुचारू उपयोगकर्ता अनुभव सुनिश्चित करने के लिए, लाइब्रेरी परस्पर विरोधी नेटिव ब्राउज़र व्यवहारों को रोकने के लिए स्क्रॉल घटनाओं को इंटरसेप्ट करके मोबाइल-फ़र्स्ट व्यू के साथ एकीकृत होती है।
Implements logic to determine if a drag distance has reached the threshold required to trigger a refresh action.
This project is a jQuery plugin designed to detect and handle touch gestures on touch-enabled devices. It serves as a touch input handler and mobile gesture interface for identifying interactions such as swipes and pinches within a jQuery environment. The library distinguishes intentional gestures from accidental movements through configurable distance and time thresholds. It includes mechanisms to manage input interference, allowing for the exclusion of specific interactive child elements and the locking of default browser behaviors like scrolling or zooming during an active gesture. The sy
Validates intentional gestures by comparing movement distance and duration against configurable thresholds.