You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
below script does not work, seems outdated. From file: dash-recipes/dash-script-execution-dangerously-set-inner-html.py
import dash_dangerously_set_inner_html
import dash
import dash_html_components as html
app = dash.Dash('')
app.scripts.config.serve_locally = True
app.layout = html.Div([
dash_dangerously_set_inner_html.DangerouslySetInnerHTML('''
<script type="text/javascript">alert('test')</script>
'''),
])
if name == 'main':
app.run_server(debug=True)