@aquinomas wrote:
Hello,
I would like to know if its possible to generate an html component from a JSON dict object, generated with the
to_plotly_json()
method. I found a method calledgenerate_class
in the dash development module but it does not seem to work.I would like something like this pseudocode:
from dash_html_components import Div results = Div(children="children here computed after a long procedure to be returned in a callback") # Magic function generate_component that creates a component with the serialized information retrieved_results = generate_component(results)
And thus
results
andretrieved_results
are the same component. Is this even possible ?Thanks for your help!
Posts: 1
Participants: 1