rclipboardSetup: Include clipboard.js

Description Usage Details Value Author(s) References See Also

View source: R/rclipboardSetup.R

Description

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

Usage

1

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)

Value

A shiny::tagList

Author(s)

Sebastien Bihorel

References

https://clipboardjs.com/

See Also

rclipButton


rclipboard documentation built on Jan. 16, 2021, 5:30 p.m.