D3vugu-components/components/layout/container.vugu
David Vogel a4b921c261 Add overlay package
- Add overlay container that shows any kind of overlay
- Add modals and a basic implementation of a requester
- Add page with overlay examples
- Add shadow color as CSS variable
- Remove background color from layout container
2023-05-18 23:17:17 +02:00

23 lines
417 B
Plaintext

<div vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1634593574"}'>
<vg-comp expr="c.DefaultSlot"></vg-comp>
</div>
<style>
.d3c-1634593574 {
margin: 1em;
}
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
"github.com/vugu/vugu"
)
type Container struct {
AttrMap vugu.AttrMap
DefaultSlot vugu.Builder `vugu:"data"`
}
</script>