Opened 14 years ago

Closed 13 years ago

Last modified 10 years ago

#3533 closed enhancement (duplicate)

Add accordion "duration" option

Reported by: sunshine Owned by: Jörn Zaefferer
Priority: major Milestone: 1.6
Component: ui.accordion Version: 1.6rc2
Keywords: accordion duration speed Cc:
Blocked by: Blocking:


Many widgets which perform animation allow the duration option to be specified either at construction time or via the table, however, accordion does not. It instead hard-codes durations in its ui.accordion.animations table in a way which can not be easily overridden. It would be useful if accordion, like other widgets, would allow animation speed to be configured by the client.

It is true that one can subclass, for instance, the "slide" animation to change its duration:

$.extend($.ui.accordion.animations, {
  fastslide: function(options) {
    $.ui.accordion.animations.slide(options, { duration: 100 }); }

However, this approach is neither obvious, documented, nor consistent with other widgets which allow duration to be specified directly.

Change History (3)

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


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

Resolution: duplicate
Status: newclosed

This will be handled by #3772.

comment:3 Changed 10 years ago by Scott González

Milestone: 1.next1.6
Note: See TracTickets for help on using tickets.