[wip] factoring vdk out into several packages
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Sidekick Example: console logger</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- link tree -->
|
||||
<ul><li>
|
||||
<a href="/">Examples</a>
|
||||
<ul><li>
|
||||
<b>Logging</b>
|
||||
</li></ul>
|
||||
</li></ul>
|
||||
|
||||
<h1>Sidekick Example: console logger</h1>
|
||||
|
||||
<h4>check the console</h4>
|
||||
|
||||
<p>
|
||||
This example illustrates a debugging feature of sidekick. Sidekick
|
||||
and the wallet each communicate with the other by sending
|
||||
<code>MessageEvent</code>s to <code>window</code>. The code in this example
|
||||
adds a listener to the <code>window</code> which just
|
||||
<code>console.log</code>s each <code>MessageEvent</code>.
|
||||
</p>
|
||||
|
||||
<!-- script -->
|
||||
<script type="module" src="dist/logging.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user