Add utility JavaScript function, e.g.: to hide or show element in the DOM.
use_js_utils(overwrite = FALSE, quiet = FALSE)
overwrite
: Whether to overwrite existing files.quiet
: Whether to print messages.This requires use_packer. Also, it will require using build.
Invisibly returns a boolean indicating whether the operation was successful.
use_js_utils()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.