#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: |
Description
Many widgets which perform animation allow the duration
option to be specified either at construction time or via the ui.foo.defaults
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
Milestone: | TBD → 1.next |
---|
comment:2 Changed 13 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:3 Changed 10 years ago by
Milestone: | 1.next → 1.6 |
---|
Note: See
TracTickets for help on using
tickets.
This will be handled by #3772.