Description Usage Arguments Value Author(s) References Examples
View source: R/common-events.R
This is a simple wrapper function to test if the given keys are hit in the keyboard event.
1 | match_key(key, event)
|
key |
a character vector of key names (see the example below) |
event |
the keyboard event (if missing, the default value comes from the
|
TRUE
for the matched keys, and FALSE
for those not
matched
Yihui Xie <http://yihui.name>
http://doc.qt.nokia.com/latest/qt.html#Key-enum
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.