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

Pass source state to _onEnter #15

Closed
bertvh opened this issue Feb 19, 2013 · 3 comments
Closed

Pass source state to _onEnter #15

bertvh opened this issue Feb 19, 2013 · 3 comments

Comments

@bertvh
Copy link

bertvh commented Feb 19, 2013

Hi,

It would be nice to know which state I'm coming from in the _onEnter method.

Specific use case: I'm modeling my UI page flow as a state machine. The page transition should depend on whether you're going back of forward through the fsm.

Thanks.

@ifandelse
Copy link
Owner

Hi @bertvh - I apologize that I've missed seeing this issue until now. I will look into it and get back to you. Thanks!

@ifandelse
Copy link
Owner

@bertvh in the meantime, you might be interested to read through Issue #4 - as @burin had some similar problems for which he was solving...

@bertvh
Copy link
Author

bertvh commented Mar 4, 2013

Didn't know about the priorState field. This should solve my issue. Thanks!

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