📅  最后修改于: 2021-01-08 12:43:59             🧑  作者: Mango
下表包含工具栏的样式类和相应的外观参数。
Class | Function | Skin Parameters | Mapped CSS properties |
---|---|---|---|
.rf-tb | It is used to define styles for the toolbar itself. | panelBorderColor headerTextColor |
border-color color |
.rf-tb-itm | It is used to define styles for an item in the toolbar. | No skin parameters. | |
.rf-tb-sep | It is used to define styles for a separator in the toolbar. | No skin parameters. | |
.rf-tb-sep-grid, .rf-tb-sep-line, .rf-tb-sep-disc, .rf-tb-sep-square | These classes define styles for grid, line, disc, and square separators. | No skin parameters. | |
.rf-tb-cntr | It is used to define styles for the container of the toolbar. | No skin parameters. |
在下面的示例中,我们正在实现< rich:toolbar >组件。本示例包含以下文件。
// tool-bar.xhtml
Toolbar
输出: