flex-fix.go 514 B

12345678910111213141516171819
  1. package vuetify
  2. import "fmt"
  3. func (b *VFlexBuilder) Col(size SizeType, columns int) (r *VFlexBuilder) {
  4. b.tag.Attr(fmt.Sprintf(":%s%d", size, columns), fmt.Sprint(true))
  5. return b
  6. }
  7. func (b *VFlexBuilder) Offset(size SizeType, columns int) (r *VFlexBuilder) {
  8. b.tag.Attr(fmt.Sprintf(":offset-%s%d", size, columns), fmt.Sprint(true))
  9. return b
  10. }
  11. func (b *VFlexBuilder) Order(size SizeType, columns int) (r *VFlexBuilder) {
  12. b.tag.Attr(fmt.Sprintf(":order-%s%d", size, columns), fmt.Sprint(true))
  13. return b
  14. }