Skip to content

Instantly share code, notes, and snippets.

@Koleok
Last active October 4, 2023 15:36
Show Gist options
  • Save Koleok/68402d1cd05f7df90f4ce047b355d698 to your computer and use it in GitHub Desktop.
Save Koleok/68402d1cd05f7df90f4ce047b355d698 to your computer and use it in GitHub Desktop.
creating
creating
passwordChanged -> creating
next -> storing
storing
storageConfirmed -> storing
next -> confirming
confirming
passwordConfirmationChanged -> confirming
next -> finalizing
finalizing
termsAcknowledgedChanged -> finalizing
next -> done
done
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