2025-03-05 10:24:46 +08:00
|
|
|
from pkg.dash.app_init import app
|
|
|
|
from dash.dependencies import Input, Output
|
|
|
|
|
2025-03-05 11:18:21 +08:00
|
|
|
|
2025-03-05 10:24:46 +08:00
|
|
|
@app.callback(
|
2025-03-21 12:22:12 +08:00
|
|
|
[Output('days-display-container', 'style'),
|
|
|
|
Output('multi-interval-container', 'style')],
|
2025-03-05 10:24:46 +08:00
|
|
|
[Input('tabs', 'value')]
|
|
|
|
)
|
|
|
|
def toggle_controls_visibility(tab):
|
2025-03-21 12:22:12 +08:00
|
|
|
return {'display': 'block'},{'display': 'block'}
|