Hi all,
I am trying to leverage the custom component dash-dangerously-set-inner-html
.
How can I render an inner html in a multi-page app. Seems to work correctly on a single-page app, but as soon as I try to render it in one of the pages of the multi-page app I’m working on, the layout won’t load.
In advance, thank you !
EDIT:
Answer: in a hidden div located in the index.py
file, make a call to the component, like below:
html.Div(dash_dangerously_set_inner_html.DangerouslySetInnerHTML())
Then use it as usual in any of the other pages.