Adding script to enable the ability to change the window title.

use_shiny_title()

See also

Examples

if (interactive()) { library(shiny) ui <- fluidPage( title = "Initial Title", use_shiny_title(), actionButton("button", "Click me for a new title"), ) server <- function(input, output, session) { observeEvent(input$button, { change_window_title(session, "New Title") }) } shinyApp(ui, server) }