shinylight.call {shinylight} | R Documentation |
JavaScript function
Description
Calls a server function as defined in the server's call to the
slServer
function.
Arguments
fn |
|
data |
|
plotElement |
|
extra |
|
Value
Result object that might have a plot
property (giving a string that would work as the src
attribute of an img
element, representing graphics
drawn by the command), a data
property (giving
the value returned by the command) and a headers
property (giving the column names in the data returned if any).
If the promise resolves to an error, the argument to the error
function is a string representing the cause of the error.