Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The get()
method of the KeyboardLayoutMap
interface returns the element with the given key.
A list of valid keys is found in the UI Events KeyboardEvent code Values spec.