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


jthomasmock/gtExtras documentation built on April 6, 2024, 5:28 a.m.