wails/v3/examples/notifications/frontend/index.html
Zach Botterman 23bf36d36f
[v3] improve service names for js/ts bindings (#4405)
* name services

* update badge service with new app api

* update examples

* add dist dirs

* update changelog

* fix up examples

* Fix changelog

---------

Co-authored-by: Zach <zach@Zachs-MacBook-Pro-2.local>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-07-25 09:23:22 +10:00

32 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="/wails.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css"/>
<title>Wails App</title>
</head>
<body>
<div class="container">
<div>
<a data-wml-openURL="https://wails.io">
<img src="/wails.png" class="logo" alt="Wails logo"/>
</a>
<a data-wml-openURL="https://www.typescriptlang.org/">
<img src="/typescript.svg" class="logo vanilla" alt="Typescript logo"/>
</a>
</div>
<h1>Wails + Typescript + Desktop Notifications</h1>
<h3>Send notifications 👇</h3>
<div class="controls">
<button class="btn" id="request">Request Authorization</button>
<button class="btn" id="check">Check Authorization</button>
<button class="btn" id="basic">Basic</button>
<button class="btn" id="complex">Complex</button>
</div>
<div class="footer" id="response"></div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>