f_html_padding: add some padding around html objects

Usage Arguments Value See Also Examples

View source: R/f_html.R

Usage

1
2
f_html_padding(obj, pad_before = 0, title = NULL, subtitle = NULL,
  caption = NULL, pad_after = 0)

Arguments

obj

html object such as DT:datatable() or plotly::ggplotly()

pad_before

integer, Default: 0

title

character vector, Default: ”

subtitle

character vector, Default: ”

caption

character vector, Default: ”

pad_after

character vector, Default: 0

Value

taglist

See Also

tagList,h3,h4,h6

Examples

1
f_html_padding(DT::datatable(mtcars),5,'mtcars Data','subtitle', 'caption', 8 )

erblast/oetteR documentation built on Feb. 15, 2018, 5:12 p.m.