Class KeyboardLayoutService Properties Private
Optional
current Layout Protected
Optional
Readonly
key Validator Protected
keyboard Layout Changed Protected
Readonly
layout Change Notifier Protected
Readonly
layout Provider Methods Private
add Key Mapping add Key Mapping ( key2KeyCode , mappedKey , value , shift , alt ) : void Parameters key2KeyCode : KeyCode [] mappedKey : Key value : string shift : boolean alt : boolean Returns void Private
add Windows Key Mapping add Windows Key Mapping ( key2KeyCode , mappedKey , vkey , value ) : void Parameters key2KeyCode : KeyCode [] mappedKey : Key vkey : string value : string Returns void Protected
get Character Index get Character Index ( key , shift ? ) : number Parameters key : Key Optional
shift : boolean Returns number get Keyboard Character get Keyboard Character ( key ) : string Returns string initialize initialize ( ) : Promise < void > Returns Promise < void > Protected
should Include Key should Include Key ( code ) : boolean Returns boolean Protected
transform Key Code transform Key Code ( inCode , mappedCode , keyNeedsShift ) : undefined | KeyCode Returns undefined | KeyCode Protected
transform Native Layout validate Key Code validate Key Code ( keyCode ) : void Returns void
Return the character shown on the user's keyboard for the given key. Use this to determine UI representations of keybindings.