Your IP : 216.73.216.79


Current Path : /var/www/html/dynaweb.blunetdev.com/node_modules/vuesax/src/layout/grid/
Upload File :
Current File : /var/www/html/dynaweb.blunetdev.com/node_modules/vuesax/src/layout/grid/VsRow.ts

import Vue from 'vue'
import { VNode } from 'vue'
import { Component, Prop } from 'vue-property-decorator'

@Component
export default class VsRow extends Vue {
  // tslint:disable-next-line:member-access
  static install: (vue: any) => any
  // tslint:disable-next-line:member-access
  static use: (vue: any) => any

  @Prop({ type: Number, default: 12 }) public w!: number

  @Prop({ type: String, default: 'flex-start' }) public justify!: string

  @Prop({ type: String, default: 'flex-start' }) public align!: string

  @Prop({ type: String, default: 'row' }) public direction!: string

  public render(h: any): VNode {

    const vsRow = h('div', {
      staticClass: 'vs-row',
      style: {
        justifyContent: this.justify,
        alignItems: this.align,
        flexDirection: this.direction
      },
    }, this.$slots.default )

    return vsRow
  }
}