Skip to content
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

stop / pause #21

Closed
Kris-B opened this issue Aug 2, 2018 · 5 comments
Closed

stop / pause #21

Kris-B opened this issue Aug 2, 2018 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@Kris-B
Copy link

Kris-B commented Aug 2, 2018

How to stop or pause a tween?

@sasha240100
Copy link
Owner

@Kris-B Yet this functionality is unimplemented. Would be nice if you could do a PR that will add the following functionality.

const tween = new Between(...).time(2000); // tween starts immediately
tween.stop(); // Stops the tween
tween.play(); // Continues the tween

/ping @alexko30 @IlyaSenko

@sasha240100 sasha240100 added enhancement New feature or request help wanted Extra attention is needed labels Aug 2, 2018
@Kris-B
Copy link
Author

Kris-B commented Aug 2, 2018

@sasha240100 thanks for the feedback, however I have no idea how to implement this...

@hirako2000
Copy link
Contributor

hirako2000 commented Aug 7, 2018

will do.
PR #31

hirako2000 added a commit to hirako2000/between.js that referenced this issue Aug 7, 2018
hirako2000 added a commit to hirako2000/between.js that referenced this issue Aug 7, 2018
hirako2000 added a commit to hirako2000/between.js that referenced this issue Aug 8, 2018
… use Symbol for the paused flag , and replace function with proper getter sasha240100#21
hirako2000 added a commit to hirako2000/between.js that referenced this issue Aug 8, 2018
sasha240100 added a commit that referenced this issue Aug 9, 2018
@hirako2000
Copy link
Contributor

good to close?

@sasha240100
Copy link
Owner

@hirako2000 yes

@sasha240100 sasha240100 added this to the v0.1.2 milestone Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants