[v3] Update and fix runtime JS API (#3295)

* Cleanup bundled runtime entry point

* Fix JS representation of Screen struct

* Expose IsFocused method in Window interface

* Update JS window API

* Fix cleanup of WML listeners

* Bundle runtime as ES module

* Update runtime dependencies

* Update runtime types and events

* Update bundled runtime

* Update changelog

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
Fabio Massaioli
2024-03-20 20:30:14 +11:00
committed by GitHub
co-authored by Lea Anthony
parent a5c843f5c6
commit 2b9891da2c
52 changed files with 5956 additions and 9080 deletions
+2 -1
View File
@@ -69,6 +69,7 @@
background-image: linear-gradient(-180deg, #cb3939, #610000);
}
</style>
<script type="module" src="/wails/runtime.js"></script>
</head>
<body style="--webkit-app-region: drag;">
<img class="logo"
@@ -78,4 +79,4 @@
<p> Open the inspector and start playing around with the plugins. </p>
</div>
</body>
</html>
</html>