input.keyStatus

keyStatus(action: string) → {boolean}

return the key status of the specified action

Parameters:
Name Type Description
action string

user defined corresponding action

Returns:
Type Description
boolean

down (true) or up(false)

Powered by webdoc!