diff --git a/README.md b/README.md index 1ff44f1..633cb67 100644 --- a/README.md +++ b/README.md @@ -77,8 +77,8 @@ Use `TabGroup` methods and manipulate tabs in a script after calling `electron-t // Do stuff const tab = tabGroup.addTab({ - title: "electron-tabs on NPM", - src: "https://www.npmjs.com/package/electron-tabs" + title: "electron-tabs | SudoVanilla Registry", + src: "https://npm.sudovanilla.org/-/web/detail/@sudovanilla/electron-tabs" }); const pos = tab.getPosition(); console.log("Tab position is " + pos); @@ -100,7 +100,7 @@ Add a new tab and returns the related `Tab` instance. * `visible` (default: `true`): set this to `false` if you don't want to display the tab once it is loaded. If set to `false` then you will need to call `tab.show()` to display the tab. * `active` (default: `false`): set this to `true` if you want to activate the tab once it is loaded. Otherwise you will need to call `tab.activate()`. * `ready`: a callback function to call once the tab is ready. The `Tab` instance is passed as the only parameter. -* `webviewAttributes`: attributes to add to the webview tag. See [webview documentation](http://electron.atom.io/docs/api/web-view-tag/#tag-attributes). +* `webviewAttributes`: attributes to add to the webview tag. See [webview documentation](https://www.electronjs.org/docs/latest/api/webview-tag#tag-attributes). #### `tabGroup.setDefaultTab(options)` @@ -247,7 +247,7 @@ webview.loadURL("file://path/to/new/page.html"); ## Custom styles -To customize tab-group styles, set new values to [electron-tabs CSS variables](https://github.com/brrd/electron-tabs/blob/master/src/style.css) in your application stylesheet. +To customize tab-group styles, set new values to [electron-tabs CSS variables](https://ark.sudovanilla.org/Korbs/electron-tabs/blob/master/src/style.css) in your application stylesheet. Since `TabGroup` is a Web Component you won't be able to change its styles directly from your app stylesheet. If you need more control over it then you can add a `