Rcssplot (version 1.0.0)

printRcss: Display properties encoded in an Rcss object

Description

Display properties encoded in an Rcss object, including any subclasses.

Usage

printRcss(Rcss, selector = NULL, verbose = FALSE)

Arguments

Rcss

style sheet object

selector

character string with name of selector to print

verbose

logical. If TRUE, function prints all information about the selector, including subclasses. If FALSE, function omits detailed information about subclasses.

Examples

Run this code
# NOT RUN {
# define a custom style
custom.style <- Rcss(text="points { pch:2; } points.A { pch: 3; }")

# printing details for a selector, concise and verbose
printRcss(custom.style, "points")
printRcss(custom.style, "points", verbose=TRUE)

# }

Run the code above in your browser using DataLab