Extends Event
The KeyEvent object is received by the Tool
’s keyboard handlers tool.onKeyDown
, tool.onKeyUp
. The KeyEvent object is the only parameter passed to these functions and contains information about the keyboard event.
type
character
key
toString()
Event
timeStamp
modifiers
Event
preventDefault()
stopPropagation()
stop()
Copyright © 2020 Wenting Zhang | Built with Notion & Fruition
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0d10a785-5dc5-44f5-ac4f-2eb80d24b302/Wentin_Logo.svg" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0d10a785-5dc5-44f5-ac4f-2eb80d24b302/Wentin_Logo.svg" width="40px" /> wentin.co
</aside>
<aside> <img src="https://cdn1.iconfinder.com/data/icons/ios-11-glyphs/30/twitter-512.png" alt="https://cdn1.iconfinder.com/data/icons/ios-11-glyphs/30/twitter-512.png" width="40px" /> Twitter
</aside>
<aside> <img src="https://image.flaticon.com/icons/png/512/25/25231.png" alt="https://image.flaticon.com/icons/png/512/25/25231.png" width="40px" /> Github
</aside>