mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00

Apply the simplification of 2398d00e6f
to all
index.html files we use. An async function
can be called directly.
38 lines
No EOL
992 B
HTML
38 lines
No EOL
992 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<!--
|
|
This is a static html file used to display the wasm build.
|
|
In order to generate the build
|
|
- uncomment the #wasm# lines in Cargo.toml
|
|
- Run `wasm-pack build --release --target web` in this directory.
|
|
-->
|
|
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>SixtyFPS Todo Demo (Web Assembly version)</title>
|
|
<style>
|
|
canvas:focus {
|
|
outline: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<p>This is the SixtyFPS Todo Demo compiled to WebAssembly.</p>
|
|
<canvas id="canvas" width="640" height="480" unselectable="on"></canvas>
|
|
<p>
|
|
<a href="https://github.com/sixtyfpsui/sixtyfps/blob/master/examples/todo/">
|
|
View Source Code on GitHub</a> -
|
|
<a
|
|
href="https://sixtyfps.io/editor?load_url=https://raw.githubusercontent.com/sixtyfpsui/sixtyfps/master/examples/todo/ui/todo.60">
|
|
Edit in the online code editor
|
|
</a>
|
|
</p>
|
|
<script type="module">
|
|
import init from './pkg/todo.js';
|
|
init();
|
|
</script>
|
|
</body>
|
|
|
|
</html> |