Last active
August 31, 2021 04:23
-
-
Save sarimarton/08b2bf9c0881be6cabe7466020ec244e to your computer and use it in GitHub Desktop.
Time Part Field
This file contains 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
Time Part Field | |
focused -> Init | |
Init* | |
typed non-finishing digit -> Init | |
typed finishing digit -> Finished | |
Finished |
This file contains 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
let max = 12 | |
let context = 0 | |
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return <pre tabIndex={0} onKeyDown={() => {}}>{String(context).padStart(2, '0')}</pre> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment