on: React on an event

Description Usage Arguments Value

View source: R/funs.R

Description

React on an event

Usage

1
on(name, expr, session = getDefaultReactiveDomain())

Arguments

name

the name of the event to react to

expr

the expression to run when the event is triggered.

session

The shiny session object

Value

An observeEvent object. This object will rarely be used, 'on' is mainly called for side-effects.


gargoyle documentation built on Feb. 25, 2021, 5:07 p.m.