From 5cf43abea83a19401b8669b0ac9f42caec1512a0 Mon Sep 17 00:00:00 2001 From: Thomas Brouard Date: Wed, 25 May 2022 14:51:16 +0200 Subject: [PATCH] Add local page example in demo --- demo/electron-tabs.html | 5 ++++- demo/page.html | 13 +++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 demo/page.html diff --git a/demo/electron-tabs.html b/demo/electron-tabs.html index 25c9d00..01356bf 100644 --- a/demo/electron-tabs.html +++ b/demo/electron-tabs.html @@ -40,10 +40,13 @@ title: "electron-tabs on Github", src: "https://github.com/brrd/electron-tabs", iconURL: "mark-github.svg", - visible: true, active: true }); + tabGroup.addTab({ + title: "Local Page", + src: "page.html" + }); diff --git a/demo/page.html b/demo/page.html new file mode 100644 index 0000000..5ce2b09 --- /dev/null +++ b/demo/page.html @@ -0,0 +1,13 @@ + + + + + + + Local Page + + +

Hello World!

+

This is a local page.

+ +