id='side-menu', style={ 'width': '300px', 'height': '100vh', 'overflowY': 'auto', 'transition': 'width 0.2s' }), offsetTop=0), flex='none'), fac.AntdCol([ html.Div(id='docs-content', style={'backgroundColor': 'rgb(255, 255, 255)'}) ], flex='auto', style={'padding': '25px'}), fac.AntdBackTop(duration=0.5) ], wrap=False) ]), listenPropsMode='exclude', excludeProps=Config.exclude_props, minimum=0.33, speed=800, debug=True) @app.callback( [Output('docs-content', 'children'), Output('router-menu', 'currentKey')], Input('url', 'pathname')) def render_docs_content(pathname): '''
docs_content = html.Div( [ html.Div( [ html.H2( 'AntdTree(id, className, style, *args, **kwargs)', style={ 'borderLeft': '4px solid grey', 'padding': '3px 0 3px 10px', 'backgroundColor': '#f5f5f5' } ), fac.AntdBackTop( containerId='docs-content', duration=0.6 ), html.Span( '主要参数说明:', id='主要参数说明', style={ 'borderLeft': '4px solid grey', 'padding': '3px 0 3px 10px', 'backgroundColor': '#f5f5f5', 'fontWeight': 'bold', 'fontSize': '1.2rem' } ), fmc.FefferyMarkdown(
'backgroundColor': '#f5f5f5', 'fontWeight': 'bold', 'fontSize': '1.2rem' } ), style={ 'marginBottom': '10px' } ), html.Div( [ html.Div( [ fac.AntdBackTop( containerId='back-top-container-demo', duration=1 ), fac.AntdTitle( '向下滑动一段距离', level=4 ) ] + [ html.Div( [ i if i % 2 == 0 else html.Br() for i in range(200) ] ) ], id='back-top-container-demo', style={ 'maxHeight': '500px',