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

Please add onEnterFrame callback to transition #3

Open
MinchukSergei opened this issue Jan 31, 2021 · 1 comment
Open

Please add onEnterFrame callback to transition #3

MinchukSergei opened this issue Jan 31, 2021 · 1 comment

Comments

@MinchukSergei
Copy link

It would be very helpful if transition.to function had onEnterFrame additional callback in params:

transition.to(obj, {
   time: 1000,
   onEnterFrame = function(event)
      -- call each frame
   end
})
@XeduR
Copy link
Contributor

XeduR commented Jun 2, 2021

I'm a bit late to answering this particular issue, but this isn't really needed as you can already do it.

The transition framework supports onStart, onPause, onResume, onComplete, etc. listeners, so you could just start an enterFrame listener onStart and remove it onComplete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants