28 lines
606 B
Plaintext
28 lines
606 B
Plaintext
<div vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1685274222"}'>
|
|
<vg-comp expr="c.DefaultSlot"></vg-comp>
|
|
</div>
|
|
|
|
<style>
|
|
.d3c-1685274222 {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5em;
|
|
margin: 0.5em 0;
|
|
}
|
|
</style>
|
|
|
|
<script type="application/x-go">
|
|
import (
|
|
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
"github.com/vugu/vugu"
|
|
)
|
|
|
|
// ContainerHorizonal arranges all contained elements in one row.
|
|
// This can be used to create a menu bar out of buttons.
|
|
type ContainerHorizontal struct {
|
|
AttrMap vugu.AttrMap
|
|
|
|
DefaultSlot vugu.Builder `vugu:"data"`
|
|
}
|
|
</script>
|