Opened 9 years ago

Closed 9 years ago

#10571 closed enhancement (fixed)

dojo.fx chain/combine not extendable

Reported by: Mike Wilcox Owned by: Mike Wilcox
Priority: high Milestone: 1.6
Component: fx Version: 1.4.0
Keywords: Cc: Eugene Lazutkin, dante
Blocked By: Blocking:

Description

I've developed code that easily reverses an animation. This same code also ads reverse functionality to chain and combine if they exist.

However, due to the private variables used, it can't be done. The attached patch would expose them both: dojo.fx._combine = _combine; dojo.fx._chain = _chain;

The alternative is to rewrite the code so that it doesn't use privates in the first place.

Attachments (1)

fx.patch (575 bytes) - added by Mike Wilcox 9 years ago.

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by Mike Wilcox

Attachment: fx.patch added

comment:1 Changed 9 years ago by Mike Wilcox

Ref ticket for reversing an animation: http://bugs.dojotoolkit.org/attachment/ticket/10572/

comment:2 Changed 9 years ago by Eugene Lazutkin

Owner: changed from dante to Eugene Lazutkin
Status: newassigned

comment:3 Changed 9 years ago by Mike Wilcox

(In [21235]) Refs #10572, #10571 - moved reverse to ext-dojo folder

comment:4 Changed 9 years ago by Eugene Lazutkin

Cc: Eugene Lazutkin dante added
Owner: changed from Eugene Lazutkin to Mike Wilcox
Status: assignednew

comment:5 Changed 9 years ago by Adam Peller

Milestone: 1.51.6

comment:6 Changed 9 years ago by dante

same. document and close plz

comment:7 Changed 9 years ago by Mike Wilcox

Resolution: fixed
Status: newclosed

IIRC, instead of using my extension of chain/combo which felt kludgey, I wrote a whole new animation type instead: http://docs.dojocampus.org/dojox/fx/Timeline

Note: See TracTickets for help on using tickets.