简体中文
Home > TSYS_RightClickMenuItemIcon
TSYS_RightClickMenuItemIcon type
右键菜单项图标
签名
typescript
type TSYS_RightClickMenuItemIcon
= | {
type: 'builtin';
name: string;
}
| {
type: 'dataUrl';
dataUrl: string;
};1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
备注
支持两种图标来源: - builtin:EDA 内置图标,name 填图标名称 - dataUrl:调用方自行传入的图标数据,形如 data:image/png;base64,xxx 或 data:image/svg+xml;utf8,xxx
两者只能选择其一,同时传入时以 builtin 为准