Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 24, 2020 17:36
Show Gist options
  • Save parzibyte/09da9db42458387f1cbf7608c70498c3 to your computer and use it in GitHub Desktop.
Save parzibyte/09da9db42458387f1cbf7608c70498c3 to your computer and use it in GitHub Desktop.
setupKeys() {
// We make a dictionary from the letters
for (const letter of ALPHABET) {
Vue.set(this.letters, letter, {
letter,
disabled: false, // We disable it when the user clicks on it
});
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment