element/packages/row
2016-12-16 10:57:54 +08:00
..
src update grid 2016-08-26 15:49:12 +08:00
cooking.conf.js Support publish component packages 2016-10-17 12:14:10 +08:00
index.js Components: use es2015 export module, fixed #907 2016-11-08 15:01:00 +08:00
package.json component README update and fix 2016-12-16 10:57:54 +08:00
README.md component README update and fix 2016-12-16 10:57:54 +08:00

element-row

A element-row component for Vue.js.

Demo

http://element-component.github.io/element-row

Installation

npm i element-row -D

Usage

import Vue from 'vue'
import ElRow from 'element-row'
import 'element-theme-default/dist/row.css'

Vue.use(ElRow)

or

import Vue from 'vue'
import ElRow from 'element-row'

Vue.component('el-row', ElRow)

Attributes

参数 说明 类型 可选值 默认值
gutter 栅格间隔 number 0
type 布局模式,可选 flex现代浏览器下有效 string
justify flex 布局下的水平排列方式 string start/end/center/space-around/space-between start
align flex 布局下的垂直排列方式 string top/middle/bottom top

Development

make dev

## test
make test

## build
make build

License

MIT