Opened 11 years ago

Closed 11 years ago

Last modified 11 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:

Description

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.

Thanks!

Change History (2)

comment:1 Changed 11 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 11 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, because I doubt I'm the first to be confused by this.

Version 0, edited 11 years ago by aidanfeldman (next)
Note: See TracTickets for help on using tickets.