将图标添加到子上下文菜单 [英] Add icon to child context menu

查看:77
本文介绍了将图标添加到子上下文菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的子上下文菜单添加一个图标。但现在,Chrome扩展程序上下文菜单选项不提供在创建子菜单时添加图标的任何选项。

我可以将图标添加到父菜单在清单文件中使用图标参数。但是没有选项的子菜单。

任何想法如何我可以实现这一目标?

I want to add an icon to my child context menus. But right now, the chrome extension options for context menu doesnt provide any option to add icon while creating a child menu.
I can add icon to the parent menu using the icon parameter in manifest file. But no option for the child menu.
Any idea how I might achieve this?

推荐答案

目前不可能。你得到的是通过清单设置的一个父图标。

Sorry, it is currently not possible. All you got is that one parent icon set through manifest.

这篇关于将图标添加到子上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆