ControlBarButtonStrings interface
可以重写的 ControlBarButton 字符串。
属性
| label | 按钮的标签。 这会取代 onLabel 或 offLabel(如果使用)。 |
| off |
未选中按钮时显示的按钮的标签。 |
| on |
选中按钮时显示的按钮的标签。 |
| tooltip |
按钮的工具提示内容。 这取代了工具tipDisabledContent、tooltipOnContent 和 tooltipOffContent(如果使用)。 |
| tooltip |
禁用按钮时的工具提示内容。 |
| tooltip |
按钮处于未选中状态时的工具提示内容。 |
| tooltip |
按钮处于选中状态时的工具提示内容。 |
属性详细信息
label
按钮的标签。 这会取代 onLabel 或 offLabel(如果使用)。
label?: string
属性值
string
offLabel
未选中按钮时显示的按钮的标签。
offLabel?: string
属性值
string
onLabel
选中按钮时显示的按钮的标签。
onLabel?: string
属性值
string
tooltipContent
按钮的工具提示内容。 这取代了工具tipDisabledContent、tooltipOnContent 和 tooltipOffContent(如果使用)。
tooltipContent?: string
属性值
string
tooltipDisabledContent
禁用按钮时的工具提示内容。
tooltipDisabledContent?: string
属性值
string
tooltipOffContent
按钮处于未选中状态时的工具提示内容。
tooltipOffContent?: string
属性值
string
tooltipOnContent
按钮处于选中状态时的工具提示内容。
tooltipOnContent?: string
属性值
string