Skip to content

onKeyType()

Set up a function to call when a key is typed (pressed and released).

arccircle.onKeyType(action)

Parameters

arccircle.onKeyType(action)
Parameter Type Default Description
action function required The function to call; it receives one parameter, the key typed as a string, for example "a", "A", "1", or "/". Upper and lower case are distinguished.