summaryrefslogtreecommitdiffstats
path: root/examples/integration/index.html
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-05-11 16:45:08 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-11 16:45:08 +0200
commit669f7cc74b2e7918e86a8197916f503f2d3d9b93 (patch)
treeacb365358235be6ce115b50db9404d890b6e77a6 /examples/integration/index.html
parentbc62013b6cde52174bf4c4286939cf170bfa7760 (diff)
parent63d3fc6996b848e10e77e6924bfebdf6ba82852e (diff)
downloadiced-669f7cc74b2e7918e86a8197916f503f2d3d9b93.tar.gz
iced-669f7cc74b2e7918e86a8197916f503f2d3d9b93.tar.bz2
iced-669f7cc74b2e7918e86a8197916f503f2d3d9b93.zip
Merge pull request #1830 from iced-rs/advanced-text
Advanced text
Diffstat (limited to 'examples/integration/index.html')
-rw-r--r--examples/integration/index.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/integration/index.html b/examples/integration/index.html
new file mode 100644
index 00000000..920bc4a0
--- /dev/null
+++ b/examples/integration/index.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
+ <title>Iced - wgpu + WebGL integration</title>
+ </head>
+ <body>
+ <h1>integration_wgpu</h1>
+ <canvas id="iced_canvas"></canvas>
+ <script type="module">
+ import init from "./integration.js";
+ init('./integration_bg.wasm');
+ </script>
+ <style>
+ body {
+ width: 100%;
+ text-align: center;
+ }
+ </style>
+ </body>
+</html>