getKeyCharFromCode

getKeyCharFromCode is a helper function which will return the char value of the keyCode

How to use

import { Plugin } from'@root'

Plugin.getKeyCharFromCode(27) // returns 'Esc'
Plugin.getKeyCharFromCode(32) // returns 'Space'

Last updated