mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-29 08:48:13 -05:00
25 lines
529 B
R
25 lines
529 B
R
\name{shinyUI}
|
|
\alias{shinyUI}
|
|
\title{Create a Shiny UI handler}
|
|
\usage{
|
|
shinyUI(ui, path = "/")
|
|
}
|
|
\arguments{
|
|
\item{ui}{A user-interace definition}
|
|
|
|
\item{path}{The web server path to server the UI from}
|
|
}
|
|
\value{
|
|
Called for its side-effect of registering a UI handler
|
|
}
|
|
\description{
|
|
Register a UI handler by providing a UI definition
|
|
(created with e.g. \link{pageWithSidebar}) and web server
|
|
path (typically "/", the default value).
|
|
}
|
|
\examples{
|
|
el <- div(HTML("I like <u>turtles</u>"))
|
|
cat(as.character(el))
|
|
}
|
|
|