Skip to content

Commit 0ac080c

Browse files
committed
docs(examples): fix titles, format
1 parent ea606bf commit 0ac080c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

examples/project-structure/ui/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
<html>
22
<head>
3-
<title>Emoji Picker Desktop App in under 50 lines of Code</title>
3+
<title>V webview examples</title>
44
<link rel="stylesheet" href="./style.css" />
55
</head>
66
<body>
77
<div id="container">
88
<h1>V webview examples</h1>
9+
910
<section>
1011
<h2>1. Simple V function Call</h2>
1112
<button onclick="handleToggle()">Toggle Setting <span id="toggle-state">on</span></button>
1213
</section>
14+
1315
<section>
1416
<h2>2. Sent data to V</h2>
1517
<form id="login">
@@ -18,6 +20,7 @@ <h2>2. Sent data to V</h2>
1820
</form>
1921
<sub id="submit-info"></sub>
2022
</section>
23+
2124
<section>
2225
<h2>3. Async operations</h2>
2326
<p>Return results from time extensive tasks in V without blocking the UI</p>
@@ -28,6 +31,7 @@ <h4>My Article: Simple Things.</h4>
2831
<button onclick="fetchArticle()">Fetch another Article</button>
2932
</section>
3033
</div>
34+
3135
<script src="./main.js"></script>
3236
</body>
3337
</html>

examples/v-js-interop-app/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<html>
22
<head>
3-
<title>Emoji Picker Desktop App in under 50 lines of Code</title>
3+
<title>V webview examples</title>
44
<style>
55
body {
66
background: linear-gradient(to right, #274060, #1b2845);
@@ -54,10 +54,12 @@
5454
<body>
5555
<div id="container">
5656
<h1>V webview examples</h1>
57+
5758
<section>
5859
<h2>1. Simple V function Call</h2>
5960
<button onclick="handleToggle()">Toggle Setting <span id="toggle-state">on</span></button>
6061
</section>
62+
6163
<section>
6264
<h2>2. Sent data to V</h2>
6365
<form id="login">
@@ -66,6 +68,7 @@ <h2>2. Sent data to V</h2>
6668
</form>
6769
<sub id="submit-info"></sub>
6870
</section>
71+
6972
<section>
7073
<h2>3. Async operations</h2>
7174
<p>Return results from time extensive tasks in V without blocking the UI</p>
@@ -76,6 +79,7 @@ <h4>My Article: Simple Things.</h4>
7679
<button onclick="fetchArticle()">Fetch another Article</button>
7780
</section>
7881
</div>
82+
7983
<script>
8084
let initialized = false;
8185
let settings = { toggle: false };

0 commit comments

Comments
 (0)