Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#597 closed enhancement (fixed)

Add "expanded" and "collapsed" to Tree to know when animations are done

Reported by: Bryan Forbes Owned by: ilia
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


I've been working with dojo.widget.html.Tree the last week or so and it would be nice to know when animations are done. Right now, "expand" and "collapse" fire at the beginning of the animation, so if you need to resize something when the animation is done, you're kind of stuck. I've attached a patch that does what I'm proposing.

Attachments (1)

tree.diff (1.7 KB) - added by Bryan Forbes 16 years ago.

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by Bryan Forbes

Attachment: tree.diff added


comment:1 Changed 16 years ago by ilia

Owner: changed from anonymous to ilia

comment:2 Changed 16 years ago by sjmiles

Milestone: 0.3release0.4

comment:3 Changed 16 years ago by ilia

Resolution: fixed
Status: newclosed

afterCollapse/afterExpand in TreeV3 will fire exactly after animation is finished, thanks

comment:4 Changed 15 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.