How to implement open in new tab in electron?

Is there an code example for open in a new tab like chrome?

There are no tabs built-in to Electron. You have to implement them yourself. Something like https://github.com/adamschwartz/chrome-tabs might help you get started.

I put together an NPM module and enhanced Adam’s chrome tabs by adding a jQuery wrapper, tab views, events, an API, and documentation. See: https://jaswsinc.github.io/chrome-tabs/ and https://www.npmjs.com/package/x-chrome-tabs

1 Like

really nice work!

Thank you very much :slight_smile: I hope it saves others some time.

Sir, I’m trying to make an editor with Electron. I’m very new to Electron JS. So I’m preparing to build a menu item, as Open in new Tab. but cant find any suitable option.
Kindly be informed that,

Blockquote https://jaswsinc.github.io/chrome-tabs/
Is not found.

Kindly help me on this issue.
Thanks in advance.
Ozzius.