Skip to content

Is there a way to detect when the longclick has ended? #5

@alfrednerstu

Description

@alfrednerstu

I'm adding a style after the longclick and would like to remove it when the longclick is over (either the user end the click or start moving the mouse/finger). My code looks like this right now:

$('.draggable').click(500, function() {
  $(this)
    .addClass("ui-draggable-hover");
});

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions