Easily expandable and resizable content container holder
Usage
windowCard(
...,
title = "Sample title",
width = "50%",
bg.color = NULL,
border.color = NULL,
header.text.color = NULL,
body.text.color = NULL
)
Arguments
- ...
content of the container
- title
title of the header
- width
width of the container
- bg.color
background color of the content area
- border.color
color of the container border
- header.text.color
color of the header text
- body.text.color
color of the content text
Examples for r2resize
More examples and demo pages are located at this link - https://rpkg.net/package/r2resize.
Examples
if (FALSE) {
#simple window card with default attributes
#shows up centered on the screen
r2resize::windowCard("sample r2symbols text")
#specify the width of the window card
#specify the title
#specify the header color
#speciy other features
r2resize::windowCard(
title = "Sample Window card",
width = "500px",
bg.color = "white",
border.color = "brown",
header.text.color = "white",
body.text.color = "black")
}