View source: R/rclipboardSetup.R
rclipboardSetup | R Documentation |
This will include the clipboard.js in the head tag.
rclipboardSetup()
Inclusion of clipboard.js will do so only once, since the code is wrapped inside
a singleton
call.
rclipboardSetup() must be called in the ui function of the Shiny app before a
rclipButton
is created (typically in the server function)
A shiny::tagList
Sebastien Bihorel
https://clipboardjs.com/
rclipButton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.