Ticket #3928 (closed enhancement: fixed)
Class-Animation: Please add a clearInlineStyle-Option
| Reported by: | trixta | Owned by: | gnarf |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.9.0 |
| Component: | ui.effects.core | Version: | 1.6rc5 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I realy like the Class-Animation feature in effects.core. It ´s an awsome way to keep the JS clean from CSS. But i have to call often the stop-method with goToEnd parameter set to true, to avoid bugs. On the other hand this can make my animation less smoother. Something like a clearInlineStyle or noInlineStyleRestore or something like this, would be a great feature.
If you don´t realy understand what i mean, please look in the attached demonstration file.
regards alex
Attachments
Change History
Changed 4 years ago by trixta
-
attachment
classanimate.zip
added
comment:5 Changed 2 years ago by Corey Frang
- Status changed from assigned to closed
- Resolution set to fixed
Unit Tests: Adding a unit test to make sure .stop( true, true ) clears the inline styles when using animateClass - Fixed #3928 - Class-Animation: Please add a clearInlineStyle-Option
Changeset: a89ff4098a6149817061a752ec3755127f554407
comment:6 Changed 2 years ago by gnarf
This was fixed when I rewrote animateClass() Added a unit test in https://github.com/jquery/jquery-ui/commit/a89ff4098a6149817061a752ec3755127f554407 to ensure.


Demo of the normal and the enhanced Class-Animation