Skip to content

Instantly share code, notes, and snippets.

@xavez
Created July 10, 2018 08:15
Show Gist options
  • Save xavez/88ba52c269cd57b53488a52ef026b4b3 to your computer and use it in GitHub Desktop.
Save xavez/88ba52c269cd57b53488a52ef026b4b3 to your computer and use it in GitHub Desktop.
Open Home Schedule
Open Home Schedule
Empty State
tap add open home -> Datepicker First Time
Filled State
Datepicker First Time
tap cancel -> Empty State
tap done -> Timepicker Start Date
Datepicker
Timepicker Start Date
tap cancel -> Empty State
tap clear -> Empty State
tap done -> Filled State
Timepicker End Date
Timepicker
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment