使用范围:UI2
Contents
component LabelEdit ($UI/system/components/justep/labelEdit/labelEdit) extends BindComponent
LabelEdit组件是复合组件包含Label和Edit两部分,分别使用class:x-label和class:x-edit表示; 相关衍生组件有: labelInput labelPassword labelRange labelOutput labelSelect labelTextarea labelRadioGroup labelCheckboxGroup labelToggle
Constructor Top
LabelEdit () | |||
LabelEdit ( options) |
Attributes Top
string |
class
组件class | ||
string |
xid
组件标示 |
Constructor details
Top
public
LabelEdit
()
使用场景:标签和内容的组合,例如注册信息填写的单项;
使用方法:添加labelEdit组件,设置标签,并添加需要的输入或输出组件;
LabelEdit组件是复合组件包含Label和Edit两部分,分别使用class:x-label和class:x-edit表示;
相关衍生组件有:
labelInput
labelPassword
labelRange
labelOutput
labelSelect
labelTextarea
labelRadioGroup
labelCheckboxGroup
labelToggle
public
LabelEdit
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
public
LabelEdit
()
LabelEdit组件是复合组件包含Label和Edit两部分,分别使用class:x-label和class:x-edit表示; 相关衍生组件有: labelInput labelPassword labelRange labelOutput labelSelect labelTextarea labelRadioGroup labelCheckboxGroup labelToggle
public
LabelEdit
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
Attributes Detail Top
public
string
class
组件class
基础样式: x-label-edit(必须) 排列方式: x-label-top、x-label-bottom、x-label-right Label占比: x-label5、x-label10、x-label15、x-label20、x-label30、x-label35、x-label40、x-label45、x-label50、x-label55、x-label60
public
string
xid
组件标示