文章目录
视频讲解:
十四、输入组件 dbc.Input()
dash-bootstrap-components 中输入组件的文档和示例。
dash-bootstrap-components对dash-core-components 中的一些输入组件有自己的版本。为了熟悉起见,它们被设计为与dash-core-components 中的相应组件共享相同的界面,但具有一些额外的 Bootstrap 特定功能。
14.1 输入文本
input 组件允许输入文本或数字,其基本用法与 相同dcc.Input,但将为您应用 Bootstrap 样式。
# 1. 导入 Dash
import dash
import dash_bootstrap_components as dbc
from dash import html,