page_panel | R Documentation |
Adds a panel to a website outside of the main content area.
page_panel(title = "Side Panel", ..., foot = NULL, position = "left",
wraps = NA, sizes = NA, breakpoints = NA, conditions = "",
id = NULL)
title |
Text to appear in the panel's header area. |
... |
Elements to appear in the panel's body area. |
foot |
Content to appear in the panel's footer area. |
position |
The side of the screen on which the panel appears; |
wraps |
The class of wrapper to place elements in; either |
sizes |
The relative size of each wrapper, between 1 and 12, or |
breakpoints |
Bootstrap breakpoint of each wrapper; one of |
conditions |
A character for each element representing the conditions in which that should be showing
(e.g., |
id |
Unique ID of the section. |
See the Bootstrap grid documentation.
A character vector of the content to be added.
## Not run:
page_panel(
"<h1>Title</h1>",
"<p>body</p>",
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.