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.
shiny_iconlink(name = "info-circle", id = NULL, ...)
name | character, name of the icon, passed to |
---|---|
id | character, option ID for the link |
... | other arguments passed to |
htmltools::[tag][htmltools::tag]
, <a/>
shinyInput_label_embed()
,
shiny::[icon][shiny::icon]
, bs_attach_modal()
,
bs_embed_popover()
, bs_embed_tooltip()
shiny_iconlink()#> <a href="#"> #> <i class="fa fa-info-circle" role="presentation" aria-label="info-circle icon"></i> #> </a>#> <a href="#" title="Help!" data-toggle="popover" data-content="I need somebody" data-placement="top"> #> <i class="fa fa-info-circle" role="presentation" aria-label="info-circle icon"></i> #> </a>