Skip to content

Instantly share code, notes, and snippets.

@bleeharper
Last active June 19, 2023 13:49
Show Gist options
  • Save bleeharper/583efeb1df5478f3f02270b3b2a928fb to your computer and use it in GitHub Desktop.
Save bleeharper/583efeb1df5478f3f02270b3b2a928fb to your computer and use it in GitHub Desktop.
Table Tile
Table Tile
No Selection*
Show Page
hover page -> Page Hover
Page Hover
hover tile -> Tile Hover
hover out -> Show Page
Tile Hover
click tile space -> Table Tile Selected
hover cell -> Tile Cell Hover
hover out -> Page Hover
Tile Cell Hover
click cell -> Cell Selected
hover out -> Tile Hover
Table Tile Selected
Just Table Selected
hover cell -> Cell Hover
click outside -> No Selection
click options -> Table Options
Cell Hover
click cell -> Cell Selected
hover out -> Just Table Selected
Cell Selected
click tile space -> Table Tile Selected
click outside -> No Selection
click options -> Table Options
Table Options
click tile space -> Table Tile Selected
click outside -> No Selection
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