format_content: Formats the content of the modal popup window.

View source: R/verbatim_popup.R

format_contentR Documentation

Formats the content of the modal popup window.

Description

Formats the content of the modal popup window.

Usage

format_content(verbatim_content, style = FALSE)

Arguments

verbatim_content

(character, expression, condition or reactive(1) holding any of the above) the content to show in the popup modal window

style

(logical(1)) whether to style the verbatim_content using styler::style_text. If verbatim_content is a condition or reactive holding condition then this argument is ignored

Details

Formats the content:

  • concatenates if needed

  • styles if style is TRUE

Value

reactive with the formatted content


teal.widgets documentation built on May 29, 2024, 2:41 a.m.