Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you support sidepanel option at cli #40

Closed
ManonLoki opened this issue Jun 20, 2024 · 3 comments
Closed

Can you support sidepanel option at cli #40

ManonLoki opened this issue Jun 20, 2024 · 3 comments

Comments

@ManonLoki
Copy link

at manifest.json

add this config

"side_panel":{
    "default_path": "index.html"
  },
@ManonLoki
Copy link
Author

oh,i forgot this

serviceWorker.ts

// Allows users to open the side panel by clicking on the action toolbar icon
chrome.sidePanel
  .setPanelBehavior({ openPanelOnActionClick: true })
  .catch((error) => console.error(error));

@larscom
Copy link
Owner

larscom commented Jun 21, 2024

it is supported now, sidepanel and standalone components. Be sure to update to latest version (3+)

@larscom larscom closed this as completed Jun 21, 2024
@ManonLoki
Copy link
Author

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants