knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Then they are called with
ui_element define the UI element to interact with. It can be a full jQuery selector, an id or a class. Note that you can add several elements and iterate other them.
hideclassshow and hide elements through their id or class.
hidehrefhide and show a link by trying to match the
clickon click on the element. You have to use the full jQuery selector.
hide show and hide elements, using the full jQuery selector.
reable able and disable specific element, using the full jQuery selector.
?golem::activate_js() for the full list.
#plop: the element with the id
.pouet: elements of class
"button:contains('this')": buttons with a text containing
Note that in html, tags contains attributes. For example:
<a href = "https://thinkr.fr" data-value = "panel2">ThinkR</a>
data-value. You can refer to these attributes with
 after the tag name.
a[href = "https://thinkr.fr"]: link with
a[data-value="panel2"]: link with
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.