Last active
August 5, 2020 03:41
-
-
Save EpocSquadron/4a8e0b020b06e8951d09aacb1cc8a4e3 to your computer and use it in GitHub Desktop.
External Link Alert
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
External Link Alert | |
# This references interaction with a link to an external website, be it | |
# from an external contact form or a doctor's website. | |
linkClicked -> Displaying | |
Hidden* | |
Displaying | |
# Cancel can result from exiting the modal (by button or escape key), | |
# clicking the cancel button | |
cancel -> Hidden | |
# This represents the user clicking the actual link to be taken to the | |
# external site. This hides the alert modal the same as hitting cancel, | |
# but has the obvious side effect. | |
continue -> Hidden |
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