sizeableCard: Resizable container content holder

View source: R/containerResizer.R

sizeableCardR Documentation

Resizable container content holder

Description

Highly customizable and resizable container content holder

Usage

sizeableCard(..., bg.color = NULL, border.color = NULL)

Arguments

...

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

Value

Container with a resizing toolbar feature on the right

Examples for r2resize

More examples and demo pages are located at this link - https://rpkg.net/package/r2resize.

Examples

#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"
)


r2resize documentation built on May 29, 2024, 11:55 a.m.