Created
February 26, 2021 01:33
-
-
Save fiddlerwoaroof/33b820ae5cba73cc49a171e88e5992b9 to your computer and use it in GitHub Desktop.
First State&
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First State& | |
Animation | |
AnimationRunning | |
animationDone -> AnimationDone | |
AnimationDone | |
refresh -> Animation | |
Screen | |
Idle | |
animationDone -> Ready | |
Ready |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
model.active_states.map(v => $("div", {}, v.name))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment