David Vogel
e722ae1d2b
- Add and update example pages - Add example address component - Add vugu data tags to struct fields - Fix some button padding values - Remove debug log line - Fix background color of the sidebar menu
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>
|