Last active
October 23, 2018 17:42
-
-
Save grahaml/0b4c7d904260f2e65fe9d3df18d6673e to your computer and use it in GitHub Desktop.
Login Form
This file contains hidden or 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
yep |
This file contains hidden or 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
Login Form | |
Inactive * | |
focus email -> Email | |
focus password -> Password | |
Active | |
focus password -> Password | |
Email Empty* | |
type -> Email Filled | |
Email Filled | |
validate failed -> Email Invalid | |
Email Invalid | |
clear text -> Email Empty | |
type -> Email Filled | |
Password | |
focus email -> Email | |
Password Empty* | |
type -> Email Filled | |
Password Filled | |
validate failed -> Email Invalid | |
Password Invalid | |
clear text -> Email Empty | |
type -> Email Filled | |
Submitting | |
This file contains hidden or 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){ | |
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