Opened 13 years ago

Closed 12 years ago

#4432 closed enhancement (fixed)

Allow animation when programmatically changing slider value

Reported by: yourcelf Owned by:
Priority: minor Milestone: 1.8
Component: ui.slider Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:


The attached patch makes it possible to animate a slider when changing values programmatically by adding an "animate" argument to the "value" function. If the argument is not provided, current default behavior (no animation) is retained.

Attachments (2)

allow_animated_value_calls.diff (453 bytes) - added by yourcelf 13 years ago.
slider_animate.html (1.3 KB) - added by yourcelf 12 years ago.
Visual test for slider animation

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by yourcelf

comment:1 Changed 12 years ago by Jörn Zaefferer

Milestone: TBD1.8

Patch looks good, needs testing.

Changed 12 years ago by yourcelf

Attachment: slider_animate.html added

Visual test for slider animation

comment:2 Changed 12 years ago by yourcelf

I added a visual test for slider animation (there doesn't seem to be any test for animation in trunk currently). Not sure how I would do a unit test for this feature.

comment:3 Changed 12 years ago by rdworth

Resolution: fixed
Status: newclosed

Fixed in r3361

Note: See TracTickets for help on using tickets.