addPopover: addPopover

View source: R/addPopover.R

addPopoverR Documentation

addPopover

Description

addPopover is used within the Server logic of an app to add a popover to a Shiny input or output.

Usage

addPopover(session, id, title, content, placement = "bottom",
  trigger = "hover", options = NULL)

Arguments

session

The session object passed to function given to shinyServer.

id

The id of the element to attach the popover to.

title

The title of the popover.

content

The main content of the popover.

placement

Where the popover should appear relative to its target (top, bottom, left, or right). Defaults to bottom.

trigger

What action should cause the popover to appear? (hover, focus, click, or manual). Defaults to hover.

options

A named list of additional options to be set on the popover.

Details

See Tooltips_and_Popovers for more information about how to use addPopover with the rest of the Tooltips_and_Popovers family.

Note

Run bsExample("Tooltips_and_Popovers") for an example of addPopover functionality.

See Also

Twitter Bootstrap 3

Other Tooltips_and_Popovers: Tooltips_and_Popovers; addTooltip; bsPopover; bsTooltip; popify; removePopover; removeTooltip; tipify


shinyBS documentation built on April 18, 2022, 1:06 a.m.

Related to addPopover in shinyBS...