Initial Commit

This commit is contained in:
Caleb Braaten
2020-02-04 11:23:58 -08:00
parent a8f6e3a14f
commit dc48c259e3
7 changed files with 146 additions and 2 deletions

23
demo.html Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>Test Upgrader</title>
</head>
<body>
<h1>Basic Header</h1>
<flashy-header>Flashy Header</flashy-header>
<h1 id="upgrade">Basic Header Upgrdaed (Delay)</h1>
</body>
<script src="node_modules/flashy-header/flashy-header.js"></script>
<script type="module">
import wcUpgrader from './wc-upgrader.mjs'
const Upgrader = new wcUpgrader();
setTimeout(() => {
Upgrader.upgradeOnDefined('flashy-header', '#upgrade');
}, 1500);
</script>
</html>