rclipboardSetup {rclipboard}R Documentation

Include clipboard.js

Description

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

Usage

  rclipboardSetup()

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


[Package rclipboard version 0.2.1 Index]