View source: R/containerResizer.R
sizeableCard | R Documentation |
Highly customizable and resizable container content holder
sizeableCard(..., bg.color = NULL, border.color = NULL)
... |
content of container |
bg.color |
content background color e.g red, black or #333333 |
border.color |
border color of container e.g. red or #f5f5f5 |
Container with a resizing toolbar feature on the right
More examples and demo pages are located at this link - https://rpkg.net/package/r2resize.
#simple sizeable card attribute
r2resize::sizeableCard(
"sample rpkg.net text"
)
#specify the background color for the card
r2resize::sizeableCard(
"sample r2resume text",
bg.color = "lightgray"
)
#specify the border color additionally
r2resize::sizeableCard(
"sample r2resume text",
bg.color = "lightgray",
border.color="black"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.