Skip to content

Add outputs_list to clientside callback_context #1610

Open
@pmkroeker

Description

@pmkroeker

#1240 added good things to the clientside callback_context. The one missing part that the serverside version has is the outputs_list, this is useful when needing to output things to Outputs that have been bound using the Pattern-matching syntax.

Is your feature request related to a problem? Please describe.
When using clientside callbacks, if the outputs are set using pattern matching (ALL) there is no way of knowing how many items should be returned by the callback function.

Describe the solution you'd like
dash_clientside.callback_context includes an outputs_list like the server version has.

Describe alternatives you've considered
Can check how many exist using things like document.querySelector or by passing in values from state.

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