Skip to content

Instantly share code, notes, and snippets.

@ryanlucas

ryanlucas/Hi.jpg

Last active Aug 7, 2020
Embed
What would you like to do?
Image Prototype Demo
Image Prototype Demo
You are here
click -> Hi
Hi
click -> You are here
function render(model){
if (model.active_states[0].image_url) {
return $("img",
{src: model.active_states[0].image_url, style: {height: "100%"}});
} else {
return "No image available."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.