popify | R Documentation |
popify
can be wrapped around any shiny UI element to add a popover to the
wrapped element. This should be a safer way to add popovers to elements created with
renderUI
.
popify(el, title, content, placement = "bottom", trigger = "hover", options = NULL)
el |
A shiny UI element. |
title |
The title of the popover. |
content |
The main content of the popover. |
placement |
Where the popover should appear relative to its target
( |
trigger |
What action should cause the popover to appear? ( |
options |
A named list of additional options to be set on the popover. |
See Tooltips_and_Popovers for more information about how to use popify
with the
rest of the Tooltips_and_Popovers family.
Run bsExample("Tooltips_and_Popovers")
for an example
of popify
functionality.
Other Tooltips_and_Popovers: Tooltips_and_Popovers
;
addPopover
; addTooltip
;
bsPopover
; bsTooltip
;
removePopover
; removeTooltip
;
tipify
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.