Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8661659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:33:02+00:00 2026-06-12T16:33:02+00:00

I am trying to create my own slider plugin with jQuery and this library

  • 0

I am trying to create my own slider plugin with jQuery and this library for the drag event. However, on callback for the event, the deltaX-property doesn’t seem to occur, which is really weird since it exists in the documentation. I am using version 2.2 of the library. I am using the library like this:

$('#myelement').bind('drag',function(e){
    console.log(e);
});

Does anyone have any experience with the drag event and can help me?
I have also tried using the ‘drag’ method of the library with the very same result. The deltaX property doesn’t exists in the callback.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T16:33:03+00:00Added an answer on June 12, 2026 at 4:33 pm

    is “drag” in bind function callback @params

    bind(type, callback); 
    
    callback(event, delta, deltaX, deltaY);
    

    so;

    $('#myelement').bind('drag',function(e, delta, deltaX, deltaY){
        console.log(e, delta, deltaX, deltaY);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create my own styled checkbox jQuery plugin. What I want
I'm trying to create my own Drag and Drop Plugin. My Plugin: $.fn.drag =
I'm trying to create my own plugin. But I'm having trouble getting things right.
I'm trying to create my own jquery image carousel in order to make myself
I'm trying to create my own library in a Symfony2 project but I'm having
I am trying to create my own HTML element that looks like this: The
I am trying to create my own website access library (for fun) like Google
I have to create my own customized slider. I am trying to change the
I'm trying to create my own jquery function, I know how to add options
I'm trying to create two sliders, each with their own values and make jQuery

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.