toolbar-fix.go 180 B

12345678910
  1. package vuetify
  2. func (b *VToolbarBuilder) AutoHeight(v bool) (r *VToolbarBuilder) {
  3. if v {
  4. b.tag.Attr(":height", `"auto"`)
  5. } else {
  6. b.tag.Attr(":height", ``)
  7. }
  8. return b
  9. }