Learn R Programming

yonder (version 0.1.1)

tooltip: Button or link tooltips

Description

Use tooltip() to contruct a tooltip for a button or link input.

Usage

tooltip(..., placement = "top", fade = TRUE)

Arguments

...

Character strings or tag elements (such as em or b) specifying the contents of the tooltip.

placement

One of "top", "right", "bottom", or "left" specifying what side of the tag element the tooltip appears on.

fade

One of TRUE or FALSE specifying if the tooltip fades in when shown and fades out when hidden, defaults to TRUE.

See Also

Other content: alert, blockquote, card, collapsePane, d1, dropdown, img, jumbotron, modal, navContent, popover, pre, toast

Examples

Run this code
# NOT RUN {
### Link with tooltip

linkInput(
  id = "link1",
  "A link",
  tooltip = tooltip("But, with a tooltip!")
)

# }

Run the code above in your browser using DataLab