View source: R/sprinkle_border_collapse.R
sprinkle_border_collapse | R Documentation |
The border_collapse
property controls the appearance of
cell borders in HTML tables. Be default, pixiedust
collapses
the borders so that the adjoining border of two cells appear as a
single border.
sprinkle_border_collapse(
x,
border_collapse = getOption("pixie_border_collapse", "collapse"),
...
)
## Default S3 method:
sprinkle_border_collapse(
x,
border_collapse = getOption("pixie_border_collapse", "collapse"),
...
)
## S3 method for class 'dust_list'
sprinkle_border_collapse(
x,
border_collapse = getOption("pixie_border_collapse", "collapse"),
...
)
x |
An object of class |
border_collapse |
|
... |
Additional arguments to pass to other methods. Currently ignored. |
See https://www.w3schools.com/cssref/pr_border-collapse.asp for details on how each option affects the appearance of a table.
This property has no effect on non-HTML output.
Change the border_collapse
attribute of the dust
object.
Cast an error if x
is not a dust
object.
Cast an error if border_collapse
is not one of
"collapse"
, "separate"
, "initial"
, "inherit"
.
Benjamin Nutter
https://www.w3schools.com/cssref/pr_border-collapse.asp
dust
, sprinkle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.