API
Component

Checkbox ($UI/system/components/justep/button/checkbox)

使用范围:UI2

Contents

component Checkbox ($UI/system/components/justep/button/checkbox) extends Radio

<b>使用场景</b>:多项选择题,可以选择多个答案的情况 ; <b>使用方法</b>:拖入设计器中,可以配置样式来确定多选页的排列风格等;

Constructor Top

  Checkbox ()
  Checkbox ( options)

Properties Top

string name

组件name,等价于html中的name属性,相同name的Checkbox为一组

Attributes Top

string class

组件class

string name

组件name,等价于html中的name属性,相同name的Checkbox为一组

Constructor details Top

public Checkbox ()

<b>使用场景</b>:多项选择题,可以选择多个答案的情况 ; <b>使用方法</b>:拖入设计器中,可以配置样式来确定多选页的排列风格等;

public Checkbox ( options)

构造函数

Inherited from ViewComponent

	
		参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
	 

Parameters

options

参数选项

Properties Detail Top

public string name

组件name,等价于html中的name属性,相同name的Checkbox为一组

Attributes Detail Top

public string class

组件class

	
		基础样式: x-checkbox(必须),
		尺寸样式: x-checkbox-lg、x-checkbox-sm、x-checkbox-xs
	

public string name

组件name,等价于html中的name属性,相同name的Checkbox为一组