sKSdepend <- function() {
htmltools::htmlDependency(
name = 'shiny-keyboard-shortcut',
version = "1.0",
src = system.file('www', package = 'shinyKeyboardShortcuts'),
script = 'shiny_keyboard_shortcuts.js',
stylesheet = 'shiny_keyboard_shortcuts.css'
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.