input.keyStatus
keyStatus(action: string) → {boolean}
return the key status of the specified action
Name | Type | Description |
---|---|---|
action | string |
user defined corresponding action |
Type | Description |
---|---|
boolean |
down (true) or up(false) |