Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Verint Community 12.x
  • Verint Community
Verint Community 12.x
API Documentation panstart jQuery Event
  • User Documentation
  • Ask the Community
  • API Documentation
  • Manager Training
  • Developer Training
  • Tags
  • More
  • Cancel
  • New
  • API Documentation
  • +In-Process API Documentation
  • +Plugin API Documentation
  • +REST API Documentation
  • -Widget, Theme, and Automation APIs
    • +Automation Events
    • -Client-side APIs
      • +Client Messages
      • +Composer Plugins
      • +JavaScript API Modules
      • -jQuery Events
        • doubletap jQuery Event
        • evolutionCodeEditorChange jQuery Event
        • evolutionCodeEditorReady jQuery Event
        • evolutionHtmlEditorReady jQuery Event
        • evolutionHtmlEditorSubmit jQuery Event
        • glowDelayedMouseEnter jQuery Event
        • glowDelayedMouseLeave jQuery Event
        • hashchange jQuery Event
        • mutate jQuery Event
        • orientationchange jQuery Event
        • pan jQuery Event
        • panend jQuery Event
        • panstart jQuery Event
        • pointerend jQuery Event
        • pointermove jQuery Event
        • pointerstart jQuery Event
        • quote jQuery Event
        • rendered jQuery Event
        • resized jQuery Event
        • scrollend jQuery Event
        • scrolltop jQuery Event
        • swipe jQuery Event
        • swipedown jQuery Event
        • swipeleft jQuery Event
        • swiperight jQuery Event
        • swipeup jQuery Event
        • tap jQuery Event
        • taphold jQuery Event
        • wake jQuery Event
      • +jQuery Plugins
      • +UI Components
    • +Dynamic Configuration
    • +LESS Functions
    • +Script API Types
    • +Script APIs

You are currently reviewing an older revision of this page.

  • History View current version

panstart jQuery Event


jQuery.event.special.panstart

Event raised once when a pointer is being moved (on pointermove) after a minimum distance from its original position at pointerstart.

Useful as a way to move an element in realtime tracked against a touch. The current pageX and pageY position on pan events can be compared against the position at panstart to determine an offset to move the panned element.

Usage

$(element).on('panstart', function(e){
    // handle event...
});

Data on the event

  • pointers: array of Pointer objects, each withpageX and pageY properties
  • originalEvent: Native event object
  • duration: duration of the gesture
  • angle: angle, in degrees, of the pan from start to finish
  • direction: general direction of the pan, based on the angle. 'up', 'down', 'right', or 'left'
  • pageX: x position
  • pageY: y position

  • Telligent
  • Professional Services
  • Submit a Support Ticket
  • Become a Partner
  • Request a Demo
  • Contact Us

About
Privacy Policy
Terms of use
Copyright 2024 Verint, Inc.
Powered by Verint Community