scrawl-canvas
Version:
Version 8.9.4 - 19 Nov 2022
52 lines (39 loc) • 1.2 kB
HTML
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Demo DOM 004</title>
<link href="css/normalize.css" rel="stylesheet" />
<link href="css/tests.css" rel="stylesheet" />
<style>
#imagestore, img {
height: 0px;
}
#mystack {
touch-action: none;
}
</style>
</head>
<body>
<h1><a href="index.html">Scrawl-canvas v8</a> - DOM test 004</h1>
<h2>Limitless rockets (clone and destroy elements, tweens, tickers)</h2>
<h3>Click in the box to make the rocket fly</h3>
<div id="mystack" data-scrawl-stack></div>
<div id="imagestore">
<img id="rocket" src="img/rocket.jpg" alt="rocket" />
</div>
<p id="reportmessage"></p>
<div class="testinfo">
<h4>Test purpose</h4>
<ul>
<li>Clone and destroy stack elements</li>
<li>Clone and destroy tweens and their associated tickers</li>
</ul>
<p><b>Touch test:</b> should work as expected</p>
<p><a href="../docs/demo/dom-004.html">Annotated code</a></p>
</div>
<script src="dom-004.js" type="module"></script>
</body>
</html>