Render a component at the console
Description
Prints a component to the viewer with the Basecoat stylesheet and scripts attached, or writes its HTML when there is nowhere to show it.
Usage
# S3 method for class 'bc_tag'
print(x, browse = interactive(), ...)
Arguments
| Argument | Description |
|---|---|
x |
A component. |
browse |
Bool. Show the rendered component rather than its HTML. |
... |
Ignored. |
Value
x, invisibly.
Examples
print(bc_badge("stable"), browse = FALSE)
#> <span class="badge">stable</span>