12 lines
314 B
Python
12 lines
314 B
Python
from pkg.dash.app_init import app
|
|
from dash.dependencies import Input, Output
|
|
|
|
|
|
@app.callback(
|
|
[Output('days-display-container', 'style'),
|
|
Output('multi-interval-container', 'style')],
|
|
[Input('tabs', 'value')]
|
|
)
|
|
def toggle_controls_visibility(tab):
|
|
return {'display': 'block'},{'display': 'block'}
|