Skip to content

Commit

Permalink
add google playground
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Muda committed Oct 20, 2023
1 parent 7e7bb97 commit 1e54a1d
Showing 1 changed file with 19 additions and 24 deletions.
43 changes: 19 additions & 24 deletions examples/docs/container.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,26 @@
overflow: auto;
}
</style>
<script type="module">
import playgroundElements from 'https://cdn.jsdelivr.net/npm/[email protected]/+esm'
</script>
</head>
<body>
<div class="o-container-query-enabled">

<playground-ide editable-file-system line-numbers resizable>
<script type="sample/html" filename="index.html">
<!doctype html>
<body>
Hello
<script type="module" src="./index.js">&lt;/script>
</body>
</script>

<script type="sample/ts" filename="index.ts">
document.body.appendChild(document.createTextNode("World!"))
</script>
</playground-ide>
<!-- <div class="o-container-query-enabled">
<section class="o-container one ">
one - enable relative resize?
<ul class="o-orbit">
Expand All @@ -40,29 +57,7 @@
</ul>
</section>
</div>
<section class="o-container two">
two
<ul class="o-orbit">
<li class="o-orbiter"></li>
<li class="o-orbiter"></li>
<li class="o-orbiter"></li>
<li class="o-orbiter"></li>
<li class="o-orbiter"></li>
</ul>
</section>
<section class="o-container three">
three
<ul class="o-orbit">
<li class="o-orbiter"></li>
<li class="o-orbiter"></li>
<li class="o-orbiter"></li>
<li class="o-orbiter"></li>
<li class="o-orbiter"></li>
</ul>
</section>
<section class="o-container four" resizable>
four
</section>
-->

</body>
</html>

0 comments on commit 1e54a1d

Please sign in to comment.