Add support for "outside elements" (Popups, Drawers, ...)

+ Add Drawer
+ Add new root in the HTML (should be included in production)
This commit is contained in:
Stephan
2022-10-05 22:17:33 +02:00
parent 137ecd6518
commit 340521e4bb
8 changed files with 129 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
<div id="detleph-fg-context"></div>
+19
View File
@@ -1,3 +1,22 @@
<script>
window.global = window;
</script>
<style>
body {
height: 100vh;
}
#detleph-fg-context {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
}
#detleph-fg-context:empty {
width: 0;
height: 0;
}
</style>