✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
📊 Dash 2.0 is Arriving. Register here.

How do you wrap a function with a callback decorator?

It is quite simple, but I don’t feel that the tutorial makes a clear example?

Basically, I cannot wrap my head around how functions are called in Dash.

I highly recommend reading this essay on decorators: https://stackoverflow.com/questions/739654/how-to-make-a-chain-of-function-decorators/1594484#1594484

1 Like

Wonderful! Thanks! :slight_smile:

1 Like