KeyMapper

KeyMapper

Constructor

new KeyMapper(optionsopt)

Parameters:
Name Type Attributes Description
options object <optional>

options

Properties
Name Type Description
splitter string

splitter string default is +

Methods

static getSharedInstance() → {KeyMapper}

Get sharedInstance

Returns:
KeyMapper

convert(event) → {string}

Convert event to keyMap

Parameters:
Name Type Description
event event

Event object

Returns:
string