Threshold-based draggable gesture system and method for triggering events
摘要:
A novel approach to displaying content on user devices may include initializing a gesture-to-refresh functionality with a view of a page of a non-native application running on a client device. The non-native application can be platform-independent. Each page of the non-native application can have its own gesture-to-refresh functionality. User gesture events such as touch or mouse events relative to the view presented on a display of the client device are continuously monitored by the gesture-to-refresh functionality which detects and tracks the view when dragged by a dragging gesture from a first position to a second position on the display. The view is refreshed when the second position of the view reaches or exceeds a predetermined threshold. The view is allowed to return to the first position upon release of the dragging gesture when the second position of the view is less than the predetermined threshold.
信息查询
0/0