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

Initial State: Support for callbacks #13

Open
tobsch opened this issue May 9, 2015 · 2 comments
Open

Initial State: Support for callbacks #13

tobsch opened this issue May 9, 2015 · 2 comments
Assignees

Comments

@tobsch
Copy link
Contributor

tobsch commented May 9, 2015

Hi,

it would be great if a function would be accepted as initialState to properly sync the FSM with a model that comes with a state and is persisted.

Best,
Tobias

@heycarsten
Copy link
Owner

Hey @tobsch, I agree that the state should be dynamically settable. I'll look into adding a hook for you to determine initialState, being able to connect to currentState via a computed property seems like a reasonable thing you should be able to do as well.

@hhff
Copy link
Contributor

hhff commented May 13, 2015

👍 I would use this

@heycarsten heycarsten self-assigned this Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants