View source: R/class-and-tag.r
class_and_tag | R Documentation |
listdown decorators map list element to functions. This function is provided for convenience to prepend a class and attributes, which can then be used by custom decorators to display those element.
class_and_tag(.x, new_class, ...)
.x |
an object to add class and attribute information to. |
new_class |
the name of the class to be prepended to .x. |
... |
the attributes to attach to .x. |
The object with updated class information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.