| lt_wrap | R Documentation |
Set arbitrary HTML attributes on the <div class="lt-wrap"> that wraps the
rendered table (e.g. style, id, data-*). A class is appended to the
base lt-wrap class rather than replacing it, and accumulates across repeated
calls. Common uses are scoping custom CSS (e.g. attached with lt_css()) to
this table alone, or giving the container a fixed width.
lt_wrap(x, ...)
x |
An |
... |
Named HTML attributes for the container, e.g. |
x with the container attributes recorded.
lt(head(mtcars)) |> lt_wrap(class = "my-table", style = "width:400px")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.