R/funs.R
on.Rd
React on an event
on(name, expr, session = getDefaultReactiveDomain())
the name of the event to react to
the expression to run when the event is triggered.
The shiny session object
An observeEvent object. This object will rarely be used, `on` is mainly called for side-effects.