is_browser_ie: Is the user using Internet Explorer?

View source: R/get_info.R

is_browser_ieR Documentation

Is the user using Internet Explorer?

Description

Convenience function that checks if the user's browser is detected as Internet Explorer. See get_browser() for details.

Usage

is_browser_ie()

Value

Whether or not this user using Internet Explorer

Examples

if (interactive()) {
  library(shiny)

  ui <- fluidPage(
    shinybrowser::detect(),
    "Are you using Internet Explorer?",
    textOutput("result")
  )
  server <- function(input, output, session) {
    output$result <- renderText({
      shinybrowser::is_browser_ie()
    })
  }
  shinyApp(ui, server)
}

daattali/shinybrowser documentation built on Aug. 21, 2024, 6:12 a.m.