-
-
Save jtatarko/b31593333a5d8241bda9e427ce45a908 to your computer and use it in GitHub Desktop.
DatePicker
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
DatePicker | |
DateNotSet | |
click -> SelectDate | |
SelectDate | |
typing -> DateSet | |
hover -> DateHighlighted | |
DateHighlighted | |
click -> DateSet | |
DateSelected | |
hover -> DateHighlighted | |
DateSet | |
click -> DateSelected | |
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