keyboardShortcut: Add A Keyboard Shortcut

Description Usage Arguments

View source: R/keyboardShortcut.R

Description

Creates a keyboard shortcut in a shiny app. It binds like an actionButton or actionLink. So you can trigger reactive events like you would with a button or link.

Usage

1
2
keyboardShortcut(inputId, key, ctrl = FALSE, alt = FALSE,
  shift = FALSE, description = NULL)

Arguments

inputId

The input slot that will be used to access the value.

key

The key that must be pressed to trigger the keyboard shortcut

ctrl

Does the Ctrl button have to be pressed?

alt

Does the Alt button have to be pressed?

shift

Does the shift button have to be pressed?

description

A description of what the shortcut does to include in the legend


ebailey78/shinyKeyboardShortcuts documentation built on May 3, 2019, 1:29 p.m.