swapping to webview webrtc setup as temp solution
will build a custom C# webrtc implementation later
This commit is contained in:
3
RelayClient/Resources/Raw/test.css
Normal file
3
RelayClient/Resources/Raw/test.css
Normal file
@@ -0,0 +1,3 @@
|
||||
#header{
|
||||
border: black solid 2px;
|
||||
}
|
||||
9
RelayClient/Resources/Raw/test.html
Normal file
9
RelayClient/Resources/Raw/test.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<html lang="enus">
|
||||
<head>
|
||||
<link rel="stylesheet" href="test.css">
|
||||
<script src="test.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<Button id="header" onclick="onClicked()">Hello World!</Button>
|
||||
</body>
|
||||
</html>
|
||||
10
RelayClient/Resources/Raw/test.js
Normal file
10
RelayClient/Resources/Raw/test.js
Normal file
@@ -0,0 +1,10 @@
|
||||
var toggle = true;
|
||||
|
||||
function onClicked()
|
||||
{
|
||||
if (toggle)
|
||||
document.getElementById("header").style.color = "green";
|
||||
else
|
||||
document.getElementById("header").style.color = "red";
|
||||
toggle = !toggle;
|
||||
}
|
||||
Reference in New Issue
Block a user