We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57408c7 commit 639b76aCopy full SHA for 639b76a
1 file changed
tests/webview/fixtures/test.html
@@ -0,0 +1,17 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head><title>Test Page</title></head>
4
+<body>
5
+ <h1 id="heading">Hello from Test</h1>
6
+ <div id="result"></div>
7
+ <script>
8
+ // Used by integration tests to verify evalJs and bind/emit work
9
+ window.testState = { ready: true, messages: [] };
10
+
11
+ onPhpEvent('testEvent', function(data) {
12
+ window.testState.messages.push(data);
13
+ document.getElementById('result').textContent = JSON.stringify(data);
14
+ });
15
+ </script>
16
+</body>
17
+</html>
0 commit comments