Clientside callbacks in multi-page Dash app

Hi @schua16

Try adding

from dash import clientside_callback

Then you can use it like this:

clientside_callback(
    ....
)

Or:

import dash

dash.clientside_callback(
   ...
)

This was a new feature in dash 2.0 and you can find more into in the announcement, but it looks like it hasn’t made it’s way into the docs yet.

2 Likes