-
Notifications
You must be signed in to change notification settings - Fork 172
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
update/set tween progress programatically #113
Comments
and even better would be setting the progress of combined tweens (commented in the codepen) |
Yes, because KUTE was developed different from it's parents (tween.js, raphael, etc). We may have to revisit this at some point in time. I'm thinking on ways to make the tween object even smaller, a bit more flexible, and disconnect a DOM node from it, so you should be able to use it with any UI framework there is. |
Perhaps this will help. |
yep this is the one i meant
but as you guessed correctly, i want to use it with svelte and have the animationProgress coupled to some state |
The best I can do right now is to link you the actual ProgressBar, perhaps you can find a way to adapt to your Svelte app. |
thats where im coming from and kute.js/src/util/progressBar.js Line 78 in 9f8b874
gave me the idea for my codepen linked above. but thanks for your help :) |
Was hoping this would be possible. Any eta on a feature like this or no? |
This feature would be nice indeed, however we would have to rework the entire thing, decouple the target |
i want to set the progress programatically but the
update
method doesn't work like i expectedsee example on codepen
is this an issue with kute itself or am i doing something wrong?
if the latter please update the docs on how to use the update method / set progress programatically
PS: yes, i've seen the official way with binding to a slider, but in my actual scenario i dont want a slider (yes i could probably build a workaround with a hidden slider whose mouseevents i trigger programatically, but that would be bad)
The text was updated successfully, but these errors were encountered: