Skip to content

Instantly share code, notes, and snippets.

@jtatarko
Forked from okonet/SketchSystems.spec
Last active August 20, 2020 08:06
Show Gist options
  • Save jtatarko/b31593333a5d8241bda9e427ce45a908 to your computer and use it in GitHub Desktop.
Save jtatarko/b31593333a5d8241bda9e427ce45a908 to your computer and use it in GitHub Desktop.
DatePicker
DatePicker
DateNotSet
click -> SelectDate
SelectDate
typing -> DateSet
hover -> DateHighlighted
DateHighlighted
click -> DateSet
DateSelected
hover -> DateHighlighted
DateSet
click -> DateSelected
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