add_callback: Add a callback to a Dash app

View source: R/callback.R

add_callbackR Documentation

Add a callback to a Dash app

Description

Dash apps are made interactive through callbacks; special functions that are automatically called whenever an input component's property changes.

Usage

add_callback(app, outputs, params, callback)

Arguments

app

A dash application created with dash_app().

outputs

An output or a list of outputs that will be updated by the callback.

params

An input or a list of inputs and states that will fire the callback.

callback

A function that takes the inputs and states as arguments and returns the outputs.


daattali/dash2 documentation built on July 1, 2023, 9:28 a.m.