Skip to content

Instantly share code, notes, and snippets.

@BrianHicks
Created September 2, 2020 19:41
Show Gist options
  • Save BrianHicks/6c0cfd94dc12051cee39ec1e54b67da1 to your computer and use it in GitHub Desktop.
Save BrianHicks/6c0cfd94dc12051cee39ec1e54b67da1 to your computer and use it in GitHub Desktop.
Guided Draft
Guided Draft
Example Closed
Never Saw Example
open example -> Example Opening
Saw Example
open example -> Example Open At Previous Scroll Position
Example Opening
finish scrolling animation -> Example Open At Previous Scroll Position
Example Open At Previous Scroll Position
close example -> Saw Example
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