printRcss | R Documentation |
Display properties encoded in an Rcss object, including any subclasses.
printRcss(Rcss, selector = NULL, verbose = FALSE)
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. |
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.