Skip to content

Instantly share code, notes, and snippets.

@WinstonFassett
Created November 19, 2020 19:38
Show Gist options
  • Save WinstonFassett/8dd2d6a26350808779299a71b668d4f5 to your computer and use it in GitHub Desktop.
Save WinstonFassett/8dd2d6a26350808779299a71b668d4f5 to your computer and use it in GitHub Desktop.
doc-state-rollup&
doc-state-rollup&
overall
loaders
no_loaders
loading
loaded
loading_timed_out
load_failed
load_error
savers
no_savers
unsaved_changes
saving
saved
save_failed
broken
creator
in_memory_new
offline_new
remote_existing
remote_new
online
offline
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