Skip to content

Instantly share code, notes, and snippets.



Forked from ryanlucas/Hi.jpg
Last active Jul 13, 2020
What would you like to do?
Image Prototype Demo
Image Prototype Demo
You are here
click -> 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: "20%"}});
} 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.