-
Notifications
You must be signed in to change notification settings - Fork 21
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
Can you have 2 animations on one data context? #38
Comments
Hey @tdmoneybanks - you might want to check out the At the moment there's nothing in momentum to allow you to do it easily but we have considered a |
Thanks for the answer @tmeasday! I've checked out the iron router plugin along with my current solution which is similar to a dynamic plugin. Essentially what i need isn't a plugin that changes but actually having two separate animations defined on one data context at the same time. What my current extension does which is a total hack is have the event change a reactive var that uses tracker to change what plugin is defined on the animation by removing it as well as its wrapping dom node and then replacing it. Any way I suppose maybe this is a feature request than but either way nice package and thanks for the help! |
I wanna have a sliding animation similar to how mobile swiping would work however this would work with two separate buttons and be in the browser. What I would want is to be able to change the animation within a
Template.events({})
such that a click on the right button would have the data slide-to-right and a click on the left button would have the data slide-to-left. is this at all possible?The text was updated successfully, but these errors were encountered: