Show and download record_heatmap data.
Usage
download_heatmap(
trigger = NULL,
path = "www",
filename = "heatmap.png",
timeout = 10,
show_ui = TRUE,
options = NULL,
session = shiny::getDefaultReactiveDomain(),
...
)
Arguments
- trigger
Reactive trigger to initialized the heatmap recording. This is useful if your app contains tabs or navbar.
- path
Previously saved heatmap data for persistence.
- filename
Screenshot file name.
- timeout
Necessary if the page needs time to load. Expressed in milliseconds.
- show_ui
Whether to show the download UI. Default to TRUE.
- options
Slot for heatmap options. Expect a (nested) list. See https://www.patrick-wied.at/static/heatmapjs/docs.html#heatmap-configure.
- session
Shiny session object. Useful to store heatmap data.
- ...
Internal. Don't use.