Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
WebDesktop/WindowAPI_Test/window.html

25 lines
483 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Window API Test</title>
</head>
<body>
<h1>Window APT Tester works!</h1>
<script type="module">
import {WindowAPI} from "./node_modules/webdesktop_windowapi/dist/WindowAPI.js";
const api = new WindowAPI();
setTimeout(async () => {
api.set.title("Haha POPO");
const title = await api.get.title();
console.log(title);
})
</script>
</body>
</html>