modal.header: Create hyperlink modal section that appears ONLY when the...

View source: R/modal.R

modal.headerR Documentation

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

Description

Additional tab section for additional links

Usage

modal.header(...)

Arguments

...

The list of tabs to include

Value

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

Examples

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))
}


nextGenShinyApps documentation built on Nov. 12, 2023, 5:06 p.m.