25 lines
648 B
R
25 lines
648 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/htmlBoxManipulation.R
|
|
\name{htmlFixBoxCollapseButtonAria}
|
|
\alias{htmlFixBoxCollapseButtonAria}
|
|
\title{Adds "aria-label" attribute to the box collapse/expand button}
|
|
\usage{
|
|
htmlFixBoxCollapseButtonAria(box, context = NULL)
|
|
}
|
|
\arguments{
|
|
\item{box}{The box to set the attributes on}
|
|
|
|
\item{context}{The context for the aria label. Defaults to the box title if
|
|
not set}
|
|
}
|
|
\value{
|
|
The modified box
|
|
}
|
|
\description{
|
|
Adds "aria-label" attribute to the box collapse/expand button
|
|
}
|
|
\examples{
|
|
x <- shinydashboard::box(title = "This is a box")
|
|
htmlFixBoxCollapseButtonAria(x)
|
|
}
|