Eyad Farra
Eyad Farra

Reputation: 4423

how to clone while drag and hide cloned item jquery

How to hide dragged item while cloning it

$( ".selector" ).draggable({ 
    helper: "clone"
});

I want to hide cloned item while dragging

Upvotes: 0

Views: 1096

Answers (1)

enb081
enb081

Reputation: 4061

The CSS class for the helper is ui-draggable-helper

You can use CSS to hide it:

.ui-draggable-helper
{
   display:none;
}

Upvotes: 1

Related Questions