Skip to contents

Derives the input and output ids of the export block that av_ui_plot_card() renders for a given plot output. UI and server call this helper instead of pasting id strings, so a rename stays local.

Usage

av_export_input_ids(output_id)

Arguments

output_id

Character. The Shiny output id of the plot (e.g. "dashboard_ecdf").

Value

A named list of character ids: width, height, dpi, format (input ids) and download (output id of the download button).

Examples

av_export_input_ids("dashboard_ecdf")
#> $width
#> [1] "dashboard_ecdf_export_width"
#> 
#> $height
#> [1] "dashboard_ecdf_export_height"
#> 
#> $dpi
#> [1] "dashboard_ecdf_export_dpi"
#> 
#> $format
#> [1] "dashboard_ecdf_export_format"
#> 
#> $download
#> [1] "dashboard_ecdf_export_download"
#>