Skip to content

Inconsistency in code and api description #365

Closed
@anuragagarwal561994

Description

@anuragagarwal561994

In Events > swipe it is written that: "Triggered when a horizontal drag of 30px or more (and less than 75px vertically) occurs within 1 second duration but these can be configured", but in the code (/jquery-mobile/js/events/touch.js) for jquery mobile the default value for $.event.special.swipe.verticalDistanceThreshold is 30px and not 75px. The problem is reflected in Event > swipeleft and Event > swiperight as well.
Here is a small demo on jsBin - http://jsbin.com/xagadozede/1/edit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions