Opened 11 years ago

Closed 9 years ago

#3262 closed enhancement (wontfix)

Draggable with cursorAt in percent

Reported by: skorpan Owned by: paul
Priority: minor Milestone: 1.9.0
Component: ui.draggable Version: 1.6b
Keywords: draggable, percent, %, css Cc:
Blocked by: Blocking:

Description

I'd like the "cursorAt" option of draggables to accept positions in percent, much like CSS does. Specifically, I'd like to be able to tell ui.draggable that I want the cursor in the very middle of the elements I drag. I don't think implementing this enhancement would be very difficult (simply checking "typeof" on the value of the property in the settings object).

It would look something like this:

$(something).draggable({ cursorAt: { right: '50%',
                                     left: '50%' }
                       });

Change History (2)

comment:1 Changed 11 years ago by Jörn Zaefferer

Milestone: TBD1.8

comment:2 Changed 9 years ago by Scott González

Resolution: wontfix
Status: newclosed

cursorAt should be moved to an extension during the draggable rewrite.

Note: See TracTickets for help on using tickets.