分隔符
QSeparator 组件用于分隔文本、其他组件等…它会在父级元素的宽度上创建一条彩色线。它可以水平或垂直放置。
¥The QSeparator component is used to separate sections of text, other components, etc… It creates a colored line across the width of the parent. It can be horizontal or vertical.
用法(Usage)
¥Usage
以下仅作为示例。这并不意味着你只能在 QCard、QList 或 QToolbar 上使用 QSeparator。
¥Take the following just as examples. Doesn’t mean you can use QSeparator only on QCard, QList or QToolbar.
颜色 CSS 类(Color CSS classes)
¥Color CSS classes
如果你需要,Quasar 有四个特殊的 CSS 类可以应用 QSeparator 的颜色:text-separator
, bg-separator
, text-dark-separator
, bg-dark-separator
.
¥Should you need, there are four special Quasar CSS classes which apply the color of QSeparator: text-separator
, bg-separator
, text-dark-separator
, bg-dark-separator
.