Creates a panel for containing arbitrary content within a flex box container.
This is mainly useful within gadgetPage
or a
tabstripPanel
's tabPanel
. You can use
contentPanel
to introduce padding and/or scrolling, but even if
padding/scrolling aren't needed, it's a good idea to wrap your custom content
into contentPanel
as it fixes some odd behavior with percentage-based
heights.
1 | contentPanel(..., padding = 10, scrollable = TRUE)
|
... |
UI objects to be contained in the |
padding |
Amount of padding to apply. Can be numeric (in pixels) or
character (e.g. |
scrollable |
If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.