tabler-outputs {tabler}R Documentation

Text Output Placeholder

Description

Places a <span> in the UI whose content is updated by render_text in the server.

Usage

text_output(output_id, inline = FALSE)
verbatim_text_output(output_id)
ui_output(output_id, container = div, ...)
render_text(expr)
render_print(expr)
render_ui(expr)
plot_output(output_id, width = "100%", height = "400px")
render_plot(expr, width = 800, height = 400)
widget_output(output_id, width = "100%", height = "400px")
render_widget(expr)
download_handler(filename, content, content_type = NULL)
download_button(
  output_id,
  label = "Download",
  class = "btn-primary",
  icon = "download",
  ...
)
download_link(output_id, label = "Download", class = NULL, icon = NULL, ...)

Arguments

output_id The output identifier (must match the server-side name).
inline If TRUE, use <span>; otherwise <div>.
container A tag-building function used to create the placeholder element, e.g. tags$h1. Defaults to div.
... Additional arguments passed to container.
expr Expression that evaluates to a character vector.
width CSS width string (default "100%").
height CSS height string (default "400px").
filename A string, or a zero-argument function returning a string, giving the filename offered to the browser (e.g. "data.csv").
content A one-argument function function(file) {...} that writes the file's contents to the path given by file.
content_type Optional MIME type string. If NULL (default), it is guessed from the filename's extension.
label Link/button text.
class Additional CSS classes (default "btn-primary" for download_button, none for download_link).
icon Optional icon name to prepend.

Value

An HTML tag.

Loading...