19 lines
538 B
Plaintext
19 lines
538 B
Plaintext
|
<div vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap}'>
|
||
|
<span vg-content="c.Name"></span><br>
|
||
|
<span vg-content="c.Street">Musterstraße 123</span><br>
|
||
|
<span vg-content="c.PostalCode">12345</span> <span vg-content="c.City">Musterstadt</span><br>
|
||
|
<span vg-content="c.Country">Deutschland</span>
|
||
|
</div>
|
||
|
|
||
|
<script type="application/x-go">
|
||
|
import (
|
||
|
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
||
|
)
|
||
|
|
||
|
type ComponentAddress struct {
|
||
|
AttrMap vugu.AttrMap
|
||
|
|
||
|
Name, Street, PostalCode, City, Country string `vugu:"data"`
|
||
|
}
|
||
|
</script>
|