mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-23 03:53:53 +00:00
Add local page example in demo
This commit is contained in:
parent
7669877a31
commit
5cf43abea8
|
@ -40,10 +40,13 @@
|
||||||
title: "electron-tabs on Github",
|
title: "electron-tabs on Github",
|
||||||
src: "https://github.com/brrd/electron-tabs",
|
src: "https://github.com/brrd/electron-tabs",
|
||||||
iconURL: "mark-github.svg",
|
iconURL: "mark-github.svg",
|
||||||
visible: true,
|
|
||||||
active: true
|
active: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
tabGroup.addTab({
|
||||||
|
title: "Local Page",
|
||||||
|
src: "page.html"
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
13
demo/page.html
Normal file
13
demo/page.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Local Page</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Hello World!</h1>
|
||||||
|
<p>This is a local page.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue