Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

shiny_iconlink

Create link containing Shiny icon


Description

You can use this helper function to wrap link element around a shiny::[icon][shiny::icon]. It may be useful to attach a modal window to (or embed a popover into) into such a link.

Usage

shiny_iconlink(name = "info-circle", id = NULL, ...)

Arguments

name

character, name of the icon, passed to shiny::[icon][shiny::icon]

id

character, option ID for the link

...

other arguments passed to shiny::[icon][shiny::icon]

Value

htmltools::[tag][htmltools::tag], <a/>

See Also

Examples

shiny_iconlink()

shiny_iconlink() %>%
  bs_embed_popover(title = "Help!", content = "I need somebody")

bsplus

Adds Functionality to the R Markdown + Shiny Bootstrap Framework

v0.1.2
MIT + file LICENSE
Authors
Ian Lyttle [aut, cre, cph] (<https://orcid.org/0000-0001-9962-4849>), Schneider Electric [cph], Alex Shum [ctb], Emily Bosak [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.