stephband/jquery.event.move

How to get moveend or not

Closed this issue · 0 comments

Hi,

This is not actually an issue, it's question, but I must ask here becouse I don't know where to ask.

I'm trying to make slider for web app which has more pages/divs which are floated but they're offset with margin so I can see only one tab per view, and this plugin works fine for me except I wan't something to change.

If I move/drag more than half of width, then "moveend" is called, but if don't nothing happend. So I'm just asking, how to detect if it needs to moveend or not.

I found that this function triggers action:

function activeTouchend(e) {
    var event = e.data.event,
        timer = e.data.timer,
        touch = identifiedTouch(e.changedTouches, event.identifier);
    if (!touch) { return; }
    removeActiveTouch(event);
    endEvent(event, timer);
}

Best regards, and sorry couse I'm asking in issue field.