Skip to contents

Generic to create the block download button.

Usage

download_ui(x, ...)

# S3 method for class 'block'
download_ui(x, ns, inputs_hidden = FALSE, ...)

# S3 method for class 'transform_block'
download_ui(x, ns, inputs_hidden = FALSE, ...)

# S3 method for class 'data_block'
download_ui(x, ns, inputs_hidden = FALSE, ...)

# S3 method for class 'plot_block'
download_ui(x, ns, inputs_hidden = FALSE, ...)

Arguments

x

Object for which to generate UI components

...

Generic consistency

ns

Module namespace

inputs_hidden

For styling purposes: CSS class to apply when the block is collapsed.