const machine = Machine({
id: 'toggle',
initial: 'inactive',
states: {
inactive: { on: { TOGGLE: 'active' } },
active: { on: { TOGGLE: 'inactive' } }
}
});
Created
November 22, 2019 17:40
-
-
Save knownasilya/96cb98710f165296d3bbd34b2eed789d to your computer and use it in GitHub Desktop.
state machines ember
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment