This widget adds a button
1 | add_google_style_button(my_html, into = "<body>", material_id, ...)
|
my_html |
html in a vector of strings; output from 'create_html'. |
into |
character string; unique identifier of a line in the html. Element id is highly recommended. |
material_id |
Material id from google material design, e.g. play_circle_outline. More other options, see https://material.io/icons/. |
... |
Other parameters to be passed as tag attributes. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.