Learn R Programming

nextGenShinyApps (version 2.1)

modal.header: Create hyperlink modal section that appears ONLY when the sidebar logo is clicked

Description

Additional tab section for additional links

Usage

modal.header(...)

Value

An HTML containing elements of links to be inserted in the header of a page

Arguments

...

The list of tabs to include

Examples

Run this code
if (interactive()) {
list1 <- list(
  title = "Home", icon = shiny::icon("home"),
  link = "https://google.com"
)
list2 <- list(
  title = "Docs", icon = shiny::icon("folder"),
  link = "https://obi.obianom.com"
)

modal.header(list(list1, list2))
}

Run the code above in your browser using DataLab