Package with an initial set of functions added

NOTE: Not all tests have been written yet!
This commit is contained in:
2026-01-22 15:59:54 +00:00
parent c94ca1549a
commit 6d3843a92b
25 changed files with 711 additions and 4 deletions

23
man/htmlMarkOptional.Rd Normal file
View File

@@ -0,0 +1,23 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/htmlMarkOptional.R
\name{htmlMarkOptional}
\alias{htmlMarkOptional}
\title{Explicitly mark a Shiny input as optional}
\usage{
htmlMarkOptional(input, optClass = "text-muted font-italic")
}
\arguments{
\item{input}{The Shiny input to mark as optional}
\item{optClass}{The classes to add to the indicator text}
}
\value{
The modified input
}
\description{
Explicitly mark a Shiny input as optional
}
\examples{
x <- shiny::textInput("input_id", "Some text input")
htmlMarkOptional(x)
}