updated id strings
This commit is contained in:
@@ -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")
|
]
|
||||||
])
|
)
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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"),
|
||||||
|
]
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user