Ticket #4036 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

draggable: cssNamespace option should be removed, addClasses option added

Reported by: rdworth Owned by:
Priority: blocker Milestone: 1.7
Component: ui.draggable Version: 1.6rc6
Keywords: Cc:
Blocking: Blocked by:

Description

Per team discussion on

 http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/30b304c6407f5130

the draggable option 'cssNamespace' should be removed (not deprecated). This option had two intents

  1. Allowing for customizing the 'ui-' prefix of all UI css class names added to draggable elements. This is not compatible with the jQuery UI CSS Framework and is not intended for support by the team.
  1. Preventing the .addClass("ui-draggable") on many hundreds of elements at init for performance reasons, by setting cssNamespace option to false. Per the same discussion, this should instead be implemented as a new option 'addClasses' with a default value of true.

Change History

comment:1 Changed 6 years ago by rdworth

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.