Learn R Programming

QurvE (version 1.1.1)

buildTooltipOrPopoverOptionsList: Custom tooltip function

Description

This function creates a custom tooltip for a given element in a Shiny application. The implementation is based on the shinyBS package.

Usage

buildTooltipOrPopoverOptionsList(title, placement, trigger, options, content)

Value

A list of tooltip options to be used in the Shiny application.

Arguments

title

The text for the tooltip's title.

placement

Placement of the tooltip. One of 'top', 'bottom', 'left', or 'right'.

trigger

The events that trigger the tooltip. One or more of 'click', 'hover', 'focus', or 'manual'.

options

A list of additional options for the tooltip.

content

Optional HTML content for the tooltip.

See Also