with_tooltip: A helper to add basic tooltip inside a gt table

View source: R/html-helpers.R

with_tooltipR Documentation

A helper to add basic tooltip inside a gt table

Description

This is a lightweight helper to add tooltip, typically to be used within gt::cols_label().

Usage

with_tooltip(label, tooltip)

Arguments

label

The label for the item with a tooltip

tooltip

The text based tooltip for the item

Value

HTML text


gtExtras documentation built on Sept. 16, 2023, 1:08 a.m.