Added methods for manipulating element classes and improved the optional/required when fieldset is used

This commit is contained in:
2026-02-05 10:55:30 +00:00
parent 066455efa0
commit 0d4b0e362b
7 changed files with 131 additions and 3 deletions

23
man/htmlButtonStyle.Rd Normal file
View File

@@ -0,0 +1,23 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/htmlClassManipulation.R
\name{htmlButtonStyle}
\alias{htmlButtonStyle}
\title{Changes the style of a button from btn-default to another style}
\usage{
htmlButtonStyle(el, style)
}
\arguments{
\item{el}{The button}
\item{style}{The style to change the button on}
}
\value{
The modified element
}
\description{
Changes the style of a button from btn-default to another style
}
\examples{
x <- shiny::tags$div(class = "btn btn-warning")
htmlButtonStyle(x, "warning")
}