Files
AVSDevR.HTMLUtils/man/htmlMarkOptional.Rd
Craig Williams 6d3843a92b Package with an initial set of functions added
NOTE: Not all tests have been written yet!
2026-01-22 15:59:54 +00:00

24 lines
563 B
R

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