mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-29 03:00:45 -04:00
using roxygen2 4.0.0: the spurious changes are due to klutometis/roxygen#184 (text in Rd is no longer wrapped by default)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
% Generated by roxygen2 (4.0.0): do not edit by hand
|
||||
\name{registerInputHandler}
|
||||
\alias{registerInputHandler}
|
||||
\title{Register an Input Handler}
|
||||
@@ -22,27 +23,23 @@ registerInputHandler(type, fun, force = FALSE)
|
||||
error if this class already has a handler defined.}
|
||||
}
|
||||
\description{
|
||||
Adds an input handler for data of this type. When called,
|
||||
Shiny will use the function provided to refine the data
|
||||
passed back from the client (after being deserialized by
|
||||
RJSONIO) before making it available in the \code{input}
|
||||
Adds an input handler for data of this type. When called, Shiny will use the
|
||||
function provided to refine the data passed back from the client (after being
|
||||
deserialized by RJSONIO) before making it available in the \code{input}
|
||||
variable of the \code{server.R} file.
|
||||
}
|
||||
\details{
|
||||
This function will register the handler for the duration of
|
||||
the R process (unless Shiny is explicitly reloaded). For
|
||||
that reason, the \code{type} used should be very specific
|
||||
to this package to minimize the risk of colliding with
|
||||
another Shiny package which might use this data type name.
|
||||
We recommend the format of "packageName.widgetName".
|
||||
This function will register the handler for the duration of the R process
|
||||
(unless Shiny is explicitly reloaded). For that reason, the \code{type} used
|
||||
should be very specific to this package to minimize the risk of colliding
|
||||
with another Shiny package which might use this data type name. We recommend
|
||||
the format of "packageName.widgetName".
|
||||
|
||||
Currently Shiny registers the following handlers:
|
||||
\code{shiny.matrix}, \code{shiny.number}, and
|
||||
\code{shiny.date}.
|
||||
Currently Shiny registers the following handlers: \code{shiny.matrix},
|
||||
\code{shiny.number}, and \code{shiny.date}.
|
||||
|
||||
The \code{type} of a custom Shiny Input widget will be
|
||||
deduced using the \code{getType()} JavaScript function on
|
||||
the registered Shiny inputBinding.
|
||||
The \code{type} of a custom Shiny Input widget will be deduced using the
|
||||
\code{getType()} JavaScript function on the registered Shiny inputBinding.
|
||||
}
|
||||
\examples{
|
||||
\dontrun{
|
||||
|
||||
Reference in New Issue
Block a user