update C
snipplets
This commit is contained in:
23
code/C/Web/webui/index.html
Normal file
23
code/C/Web/webui/index.html
Normal file
@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>ololo</title>
|
||||
<script src="/webui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<button onclick="abc('string');">ssf</button>
|
||||
<br>
|
||||
<button id="clck">Click</button>
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
window.resizeTo(500, 500);
|
||||
}
|
||||
|
||||
function abc(text) {
|
||||
webui_fn('MyID', text).then((response) => { console.log(response); });
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user