Tray | TrayIconButton
TrayIconButton#
Description#
- Button designed for system bars or icon areas: shows an icon, a badge and a custom tooltip.
Props#
icon(string) — Path to the icon. Required.alt(string) — Alternative text. Default:''.tooltip(string) —titlevalue. Default:''.badge(number | null) — Counter; not shown ifnullor0. Default:null.iconClass(string | Record<string, boolean>) — Classes for the icon.customClass(string | Record<string, boolean>) — Classes for the container.tooltipClass(string | Record<string, boolean>) — Classes for the custom tooltip.showCustomTooltip(boolean) — Shows the custom tooltip (internal). Default:false.customTooltipText(string) — Text of the custom tooltip.
Emits#
click— When the user clicks the button.
Slots#
- Default — Extra content inside the button.
Usage#
| |