Skip to content

Instantly share code, notes, and snippets.

@neslinesli93
Created January 2, 2020 21:03
Show Gist options
  • Save neslinesli93/41f933df5bed4fffb046a9202362aa09 to your computer and use it in GitHub Desktop.
Save neslinesli93/41f933df5bed4fffb046a9202362aa09 to your computer and use it in GitHub Desktop.
Add module attributes with allowed keys
@left_keys ["ArrowLeft", "KeyA"]
@right_keys ["ArrowRight", "KeyD"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment