API
Component

ProvinceSelect ($UI/system/components/justep/distpicker/provinceSelect)

使用范围:UI2

Contents

component ProvinceSelect ($UI/system/components/justep/distpicker/provinceSelect) extends BindComponent

ProvinceSelect,省/直辖市选择

Constructor Top

  ProvinceSelect ()
  ProvinceSelect ( options)

Properties Top

boolean disabled

禁用

Attributes Top

string bind-ref

引用

string class

组件class

boolean disabled

禁用

string optionsCaption

无值时的提示信息

string xid

组件标示

Methods Top

Object get (String name)
void set (json arg)

Events Top

void onChange (ChangeEvent event)

Constructor details Top

public ProvinceSelect ()

ProvinceSelect,省/直辖市选择

public ProvinceSelect ( options)

构造函数

Inherited from ViewComponent

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

Parameters

options

参数选项

Properties Detail Top

public boolean disabled

禁用

Attributes Detail Top

public string bind-ref

引用

public string class

组件class

	
		基础样式: form-control(必须),
		尺寸样式: input-lg、input-sm
	

public boolean disabled

禁用

public string optionsCaption

无值时的提示信息

public string xid

组件标示

Methods Detail Top

public Object get (String name)

获取属性值

Parameters

String name

属性名称,取值范围:"disabled"

Return Value

Object

public void set (json arg)

设置属性值

Parameters

json arg

属性值对
结构如下:

{ "disabled" : {boolean} 禁用, }

Return Value

void

Events Detail Top

public void onChange (ChangeEvent event)

[回调型事件]值修改事件

Parameters

ChangeEvent event


结构如下:

{ "source" : 组件的js对象, "value" : 值, "bindingContext" : 组件绑定的上下文,包含$model、$object等具体请参考bindingContext说明 }

Return Value

void