You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import defprops from '../../libs/config/props' ;
export default {
props : {
color : {
type : String ,
default : defprops . line . color
} ,
// 长度, 竖向时表现为高度, 横向时表现为长度, 可以为百分比, 带px单位的值等
length : {
type : [ String , Number ] ,
default : defprops . line . length
} ,
// 线条方向, col-竖向, row-横向
direction : {
type : String ,
default : defprops . line . direction
} ,
// 是否显示细边框
hairline : {
type : Boolean ,
default : defprops . line . hairline
} ,
// 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px"
margin : {
type : [ String , Number ] ,
default : defprops . line . margin
} ,
// 是否虚线, true-虚线, false-实线
dashed : {
type : Boolean ,
default : defprops . line . dashed
}
}
}