rclipboardSetup: Include clipboard.js

View source: R/rclipboardSetup.R

rclipboardSetupR 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


rclipboard documentation built on Nov. 16, 2023, 5:07 p.m.