set_doc_attribs: Set Document Attributes

Description Usage Arguments Examples

View source: R/set_doc_attribs.R

Description

Easily set document language and direction

Usage

1
set_doc_attribs(lang = "en", dir = "ltr")

Arguments

lang

the language the document is written in (ie., ISO639 code)

dir

the direction of the content (e.g., left to right)

Examples

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")
    )
  )
}

InControlofEffects/iceComponents documentation built on April 1, 2021, 5:51 a.m.