Primarily used to modify the output object of module to change the containing
report.
Usage
after(
x,
ui = function(id, elem) elem,
server = function(input, output, session, data) data,
...
)
Arguments
- x
(teal_module
)
- ui
(function(id, elem, ...)
) function to receive output (shiny.tag
) from x$ui
- server
(function(input, output, session, data, ...)
) function to receive output data from x$server
- ...
additional argument passed to ui
and server
by matching their formals names.
Value
A teal_report
object with the result of the server function.