Created
December 28, 2019 15:45
-
-
Save eskimoblood/c56ca967e266136dd14d55d0693f9e1c to your computer and use it in GitHub Desktop.
My Awesome Sketch
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
My Awesome Sketch | |
Nothing Selected | |
click on bar -> One Bar Selected | |
shift click on bar -> Continious Bars Selected | |
One Bar Selected | |
click on same bar -> Nothing Selected | |
click on another bar -> One Bar Selected | |
shift click on another bar -> Non Continious Bars Selected | |
ctrl click on another bar -> Continious Bars Selected | |
move mouse -> Selection | |
Non Continious Bars Selected | |
click on bar -> One Bar Selected | |
shift click on bar -> ? | |
ctrl click on bar -> ? | |
Continious Bars Selected | |
click on bar -> One Bar Selected | |
shift click on bar -> ? | |
ctrl click on bar -> ? | |
Selection | |
mouseUp -> Continious Bars Selected | |
? |
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"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment