Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Callbacks in Multipage Apps (Using Slapdash framework)

Hi,

I am using the Slapdash file structure from @nedned, but can’t seem to figure out where to put my callbacks or really how to get them to work at all. I know it has something to do with them needing to be created when the app starts, but I’m pretty lost.

Hey,

I’ve recently reorganised the layout of the project, and may not have left things all that clear. It’s still a work in progress.

The place to put them is in your different page files within the pages module. I’ve just pushed a change which adds an example app to page 1, so you should now be able to see it all in action as an example. Happy to get any more feedback if it could still be made easier to understand what’s going on.