\FormBuilder\componentsRow

row栅格规则 Class Row

Summary

Methods
Properties
Constants
__call()
__construct()
build()
()
()
()
()
()
No public properties found
No constants found
No protected methods found
$props
$propsRule
N/A
No private methods found
No private properties found
N/A

Properties

$props

$props : array

Type

array

$propsRule

$propsRule : array

Type

array

Methods

__call()

__call(  $name,   $arguments) : $this

设置组件属性

Parameters

$name
$arguments

Throws

\Exception

Returns

$this

__construct()

__construct(integer  $gutter, string  $type = '', string  $align = '', string  $justify = '', string  $className = '') 

Row constructor.

Parameters

integer $gutter
string $type
string $align
string $justify
string $className

build()

build() : array

获取组件的生成规则

Returns

array

()

() : 

$this gutter(Number $gutter) 栅格间距,单位 px,左右平分

Returns

()

() : 

$this type(String $type) 栅格的顺序,在flex布局模式下有效

Returns

()

() : 

$this align(String $align) flex 布局下的垂直对齐方式,可选值为top、middle、bottom

Returns

()

() : 

$this justify(String $justify) flex 布局下的水平排列方式,可选值为start、end、center、space-around、space-between

Returns

()

() : 

$this className(String $className) 自定义的class名称

Returns