24 lines
475 B
R
24 lines
475 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/htmlClassManipulation.R
|
|
\name{htmlAddClasses}
|
|
\alias{htmlAddClasses}
|
|
\title{Add classes to an HTML element}
|
|
\usage{
|
|
htmlAddClasses(el, classes)
|
|
}
|
|
\arguments{
|
|
\item{el}{The element to add the class(es) to}
|
|
|
|
\item{classes}{The class(es) to be added}
|
|
}
|
|
\value{
|
|
The modified element
|
|
}
|
|
\description{
|
|
Add classes to an HTML element
|
|
}
|
|
\examples{
|
|
x <- shiny::tags$div()
|
|
htmlAddClasses(x, "btn-warning")
|
|
}
|