upsetjs sizing policy

upsetjsSizingPolicy(
  defaultWidth = "100%",
  defaultHeight = 400,
  padding = 0,
  browser.fill = TRUE,
  ...
)

Arguments

defaultWidth

defaults to "100%" of the available width

defaultHeight

defaults to 400px tall

padding

defaults to 0px

browser.fill

defaults to TRUE

...

all other arguments supplied to htmlwidgets::sizingPolicy

Value

An htmlwidgets::sizingPolicy object

Examples

upsetjs(sizingPolicy = upsetjsSizingPolicy(padding = 20)) %>%
  fromList(list(a = c(1, 2, 3), b = c(2, 3)))