<!DOCTYPE html> <html> <head> <title>electron-tabs-demo</title> </head> <body style="margin:0"> <tab-group new-tab-button="true" draggable="true"></tab-group> <script src="../dist/electron-tabs.draggable.js"></script> <script> const tabGroup = document.querySelector("tab-group"); tabGroup.setDefaultTab({ title: "Wikipedia", src: "https://www.wikipedia.org/", active: true }); tabGroup.addTab({ title: "electron-tabs on NPM", src: "https://www.npmjs.com/package/electron-tabs", }); tabGroup.addTab({ title: "electron-tabs on Github", src: "https://github.com/brrd/electron-tabs", visible: true, active: true }); </script> </body> </html>