getHtmlTableStyle: Get style options for object

View source: R/htmlTable_style_handlers.R

getHtmlTableStyleR Documentation

Get style options for object

Description

A wrap around the base::attr() that retrieves the style attribute used by htmlTable() (htmlTable.style).

Usage

getHtmlTableStyle(x)

Arguments

x

The object intended for htmlTable().

Value

A list if the attribute exists, otherwise NULL

Examples

library(magrittr)

mx <- matrix(1:4, ncol = 2)
colnames(mx) <- LETTERS[1:2]
mx %>%
  addHtmlTableStyle(align = "l|r") %>%
  getHtmlTableStyle()

gforge/htmlTable documentation built on Nov. 4, 2023, 12:05 a.m.