Last active
June 19, 2023 13:49
-
-
Save bleeharper/583efeb1df5478f3f02270b3b2a928fb to your computer and use it in GitHub Desktop.
Table Tile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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