Skip to content

Enable animation on inner nodes of the element and options #11173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
add test case on properties consistency
  • Loading branch information
stockiNail committed Mar 1, 2023
commit ac7bb052505222d43aa10f98275c41c7ebbb1502
10 changes: 10 additions & 0 deletions test/specs/core.animations.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,16 @@ describe('Chart.animations', function() {
})).toBeUndefined();
});

it('should not update path properties to target during animation because properties not consistent', function() {
const chart = {
draw: function() {},
options: {
}
};
const anims = new Chart.Animations(chart, {value: {properties: ['.value', 'value.', 'value..end'], type: 'number', duration: 500}});
expect(anims._pathProperties.length === 0).toBeTrue();
});

it('should update path (2 levels) properties to target during animation', function(done) {
const chart = {
draw: function() {},
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy