from logging import debug
import dash
from dash import Input, Output, State, html
import dash_bootstrap_components as dbc
from dash_bootstrap_components.themes import BOOTSTRAP
app = dash.Dash(external_stylesheets=[dbc.themes, BOOTSTRAP])
# 指示当前页面在导航层次结构中的位置,该层次结构通过 CSS 自动添加分隔符
breadcrumb = dbc.Breadcrumb(
items=[
{
"label": "Docs",
"href": "/docs",
"external_link": True,
},
{
"label": "Components",
"href": "/docs/components",
"external_link": True,
},
{
"label": "Breadcrumb",
"active": True,
},
],
)
app.layout = dbc.Container(breadcrumb, fluid=True)
if __name__ == "__main__":
app.run_server(debug=True)
dash-bootstrap-面包屑
最新推荐文章于 2024-05-15 09:51:57 发布