#2710 closed task (fixed)
port dojo.lfx/animation to 0.9
Reported by: | Adam Peller | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | lfx | Version: | 0.4.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Change History (28)
comment:1 Changed 14 years ago by
comment:3 Changed 14 years ago by
comment:10 Changed 14 years ago by
comment:11 Changed 14 years ago by
comment:12 Changed 14 years ago by
comment:13 follow-up: 14 Changed 14 years ago by
comment:14 Changed 14 years ago by
Replying to BryanForbes:
- Changed dojo.fx.chain and dojo.fx.combine to work correctly.
Hey guys,
Glad to see you're making progress on the file-size and API issues, but there aren't accompanying tests.
Please add porting-guide entries and tests at your earliest convenience.
comment:15 Changed 14 years ago by
comment:16 Changed 14 years ago by
- Removed calculation of the difference between start and end in dojo._Line and PropLine?.
- Changed dojo._Animation's and dojo.animateProperty's constructors to take one argument that gets mixed into the _Animation object.
- Changed dojo.animateProperty to not use an intermediate variable (targs) to store information about the property animation.
- Changed dojo.animateProperty back to using an object (rather than an array of objects) for property values.
- Removed connection of handlers in dojo._Animation. User will have to connect to events after the creation of the animation.
- Removed repeat function. This can be set in the constructor now.
- Changed chain and combine methods to take an array of animations rather than figure it out from arguments.
- Added a delay property on dojo._Animation that can be overridden in the play method.
- Changed the _percent property to hold a value between 0 and 1 rather than 1 and 100. This should speed things up a bit since it's not calculating the decimal each time it's used.
- Changed core fx.js to use the changes listed above.
comment:17 Changed 14 years ago by
- Changed dojo._Line to only take single values for start and end, rather than an array for both.
- Changed repeatCount to repeat.
- Removed some unnecessary intermediate variables.
- Changed all fx functions to only operate on one node rather than an array of nodes.
- Changed all fx functions to use one keyword object argument.
- Uncommented the 3rd fx test.
comment:24 Changed 14 years ago by
comment:25 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
marking closed. New issues should get their own bugs.
comment:26 Changed 14 years ago by
Note: See
TracTickets for help on using
tickets.
(In [7974]) First stab at porting Animation and lfx (fx). Refs #2710