Skip to contents

Registers an observer that evaluates expr only when event is triggered.

Usage

tuiObserveEvent(event, expr, runAtInit = FALSE)

Arguments

event

An input$<id> / input[["id"]] reference, or a reactive call/object from tuiReactive(), tuiReactiveVal(), or tuiReactiveEvent().

expr

An expression evaluated when event triggers.

runAtInit

A single logical value. If TRUE, evaluate once during app initialization.

Value

Invisibly returns NULL.