How to dynamically set icons #1791
Unanswered
marcellino-ornelas
asked this question in
Q&A
Replies: 1 comment 2 replies
-
As far as I've discovered, browsers use a 48px icon for the action icon. chrome.action.setIcon({ path: '/icons/48.png' }); Each other icon could be placed in the chrome.action.setIcon({ path: '/images/logged-out.png' }); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋🏽 Have some questions for ya'll around dynamically setting icons 🙏🏽
Context
Im trying to change my extension icon when a user is not logged in so its a indication to them they need to log in. Im also using https://wxt.dev/auto-icons for my icons
Question
https://wxt.dev/auto-icons
is creating multiple versions of my icon, does that mean I need to do the same for my login icon? 🤔https://wxt.dev/auto-icons
for this?Beta Was this translation helpful? Give feedback.
All reactions