Skip to content

Allow a hook for custom_data into the callback_context #3166

Closed
@BSd3v

Description

@BSd3v

Would like for the ability to set custom_data inside of callback_context. This would give the flexibility to establish a variable that can be accessed by any function done within the context of a callback. Including background callbacks to grant access to things like user settings, etc.


@gvwilson would be good to update this part in the docs too:
https://dash.plotly.com/advanced-callbacks#properties-for-callback_context

ie
ec3a35f

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions