rclipboard (version 0.1.2)

rclipboardSetup: Include clipboard.js

Description

This will include the clipboard.js in the head tag.

Usage

rclipboardSetup()

Arguments

Value

A shiny::tagList

Details

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)

References

https://clipboardjs.com/

See Also

rclipButton