add_css_footer {tableHTML} | R Documentation |
Add css to tableHTML's footer
Description
add_css_footer
will add css to a tableHTML's footer
Usage
add_css_footer(tableHTML, css)
Arguments
tableHTML |
A tableHTML object created by the tableHTML function. |
css |
A list of two elements with the corresponding css. The first element of the list should be an atomic vector with the style definitions (e.g. background-color). The second element will be an atomic vector with the same length as the first element, which will contain the style definitions' values (e.g. red). Check the examples for more information. |
Details
add_css_footer
will add css to a tableHTML's footer.
Value
A tableHTML object.
Examples
tableHTML(mtcars, footer = 'This is a footer') %>%
add_css_footer(css = list(c('color', 'font-size'), c('blue', '50px')))
tableHTML(mtcars, footer = 'This is a footer') %>%
add_css_footer(css = list(c('color', 'font-size'), c('blue', '50px'))) %>%
add_css_footer(css = list('background-color', 'green'))
[Package tableHTML version 2.1.2 Index]