f_html_padding: add some padding around html objects

Description Usage Arguments Value See Also Examples

View source: R/f_html.R

Description

add some padding around html objects

Usage

1
2
f_html_padding(obj, pad_before = 0, title = NULL, subtitle = NULL,
  caption = NULL, pad_after = 0, .f_htitle = htmltools::h3)

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

.f_htitle

function, Default: htmltools::h3

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 Nov. 13, 2018, 9:09 a.m.