Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 380 Bytes
library(shiny)
# Define an empty UI that can be filled later
shinyUI(fluidPage(uiOutput("selected_page"),
tags$script('
$(document).on("keydown", function (e) {
Shiny.onInputChange("last_key_pressed", e.keyCode);
});
')))
You can’t perform that action at this time.