Description Usage Arguments Examples
View source: R/set_doc_attribs.R
Easily set document language and direction
1 | set_doc_attribs(lang = "en", dir = "ltr")
|
lang |
the language the document is written in (ie., ISO639 code) |
dir |
the direction of the content (e.g., left to right) |
1 2 3 4 5 6 7 8 9 | if (interactive()) {
ui <- tagList(
iceComponents::use_iceComponents(),
iceComponents::set_doc_attribs(lang = "en", dir = "ltr"),
iceComponents::main(
tags$h1("This is my cool app")
)
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.