File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 );
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 } ;
You can’t perform that action at this time.
0 commit comments