Skip to content

Instantly share code, notes, and snippets.

@peter-wilkins
Last active August 16, 2018 19:53
Show Gist options
  • Save peter-wilkins/eee38407c3af3b1fdc3d5956b1856ae4 to your computer and use it in GitHub Desktop.
Save peter-wilkins/eee38407c3af3b1fdc3d5956b1856ae4 to your computer and use it in GitHub Desktop.
Swiper
Swiper
Loading
loaded -> Description
Description
start -> Swiping
Swiping
finish -> Loading
swipeleft -> Swiping
swipeRight -> Swiping
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