updated id strings

This commit is contained in:
Brian Bjarke Jensen
2024-02-23 23:26:19 +01:00
parent e5344e6519
commit b2c4f97b9c
3 changed files with 18 additions and 14 deletions
+6 -5
View File
@@ -2,13 +2,14 @@ from dash import html, dcc
import dash_bootstrap_components as dbc import dash_bootstrap_components as dbc
alerts_element = html.Div([ alerts_element = html.Div(
children=[
dbc.Alert( dbc.Alert(
children="", children="",
id="alert_element", id="alert-element",
dismissable=True, dismissable=True,
fade=False, fade=False,
is_open=False, is_open=False,
), )
dcc.Store(id="alert_message") ]
]) )
+1 -1
View File
@@ -3,7 +3,7 @@ import dash_mantine_components as dmc
image_element = dmc.Center( image_element = dmc.Center(
dmc.Image( dmc.Image(
id="image_container", id="image-container",
width=600, width=600,
height=600, height=600,
withPlaceholder=True, withPlaceholder=True,
+6 -3
View File
@@ -1,6 +1,9 @@
from dash import html, dcc from dash import html, dcc
stores_element = html.Div([ stores_element = html.Div(
dcc.Store(id='visual-communication-name', storage_type='session'), children=[
]) dcc.Store(id="alert-message", storage_type="session"),
dcc.Store(id="visual-communication-name", storage_type="session"),
]
)