Package with an initial set of functions added
NOTE: Not all tests have been written yet!
This commit is contained in:
23
man/htmlMarkOptional.Rd
Normal file
23
man/htmlMarkOptional.Rd
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user