Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2k
Animate API#802
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
Uh oh!
There was an error while loading. Please reload this page.
Animate API #802
Changes from all commits
57892edae7c54c4e23c21b98be7100bfd52f46e5fb981c1a880078e4a36fb6eb249f7bd06699d4ea79b2639faa236207ee48347036f0b42ba311922d5c82c60f848aba6be166dd0b1f8bd6e8c01b497e3907963214516cf9c83914ee95be1dfd203782fefa9db6b9420d3da5e0221c79f3a292df70957268b9a0c29c14d784c93fe75ec8a5c8e46f21d433551fe652d2bc29b80f23eefc85c3a24e88184File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -17,7 +17,7 @@ var buttonsAttrs = { | ||
| method: { | ||
| valType: 'enumerated', | ||
| values: ['restyle', 'relayout'], | ||
| values: ['restyle', 'relayout', 'animate'], | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🍻 | ||
| dflt: 'restyle', | ||
| role: 'info', | ||
| description: [ | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have an in-house wrapper from translate transforms ->
Lib.setTranslateUh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure it's usable here since this crux of this method is the ability to pass transitions instead of selections. Example:
In other words, the getter does not work when a transition is supplied.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Current master uses this technique: https://github.com/plotly/plotly.js/blob/master/src/components/drawing/index.js#L58