Print a Component
Description
Show a component in the viewer with the Basecoat stylesheet and scripts. Outside an interactive session, print its HTML instead.
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. Defaults to interactive(). |
... |
Ignored. |
Value
x, invisibly.
Examples
print(bc_badge("stable"), browse = FALSE)
#> <span class="badge">stable</span>