Skip to content

Allow a hook for custom_data into the callback_context #3166

Closed

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

Activity

  1. BSd3v commented on Feb 21, 2025

    @BSd3v
    ContributorAuthor

    merged in #3175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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