Plot.ly dash-daq BooleanSwitch
Plot.ly dash-daq BooleanSwitch
我的布局包括 dash-daq 中的 BooleanSwitch
。它运作良好,但我想改变它的颜色。
daq.BooleanSwitch(
id='select',
on=True,
)
在这个回答中我找到了如何设置滑块
但我找不到适合 das-daq 的样式。
请看Dash DAQ boolean switch documentation
daq.BooleanSwitch(
id='select',
on=True,
color="#9B51E0",
)
我的布局包括 dash-daq 中的 BooleanSwitch
。它运作良好,但我想改变它的颜色。
daq.BooleanSwitch(
id='select',
on=True,
)
在这个回答中我找到了如何设置滑块
请看Dash DAQ boolean switch documentation
daq.BooleanSwitch(
id='select',
on=True,
color="#9B51E0",
)