Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#7740 closed enhancement (notabug)

Position: add method to disable

Reported by: aidanfeldman Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.position Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:


Unlike the other jQuery UI Interaction plugins, there is no way (that I'm aware of) to disable position() functionality after it's been applied. Draggable, for example, has the method draggable('disable'). Would be great if this were done in a consistent way across all the plugins.


Change History (2)

comment:1 Changed 12 years ago by Scott González

Resolution: invalid
Status: newclosed

This doesn't make any sense. Position is a utility that has no state; it's not an interaction.

comment:2 Changed 12 years ago by aidanfeldman

Ah, I see - it wasn't clear from the demo page position() is a one-time action, rather than working continuously as the default demo makes it seem at first glance. I'd suggest making a note of that on the demo page, because I doubt I'm the first to be confused by this.

Last edited 12 years ago by aidanfeldman (previous) (diff)
Note: See TracTickets for help on using tickets.