API
Component

Distpicker2 ($UI/system/components/justep/distpicker/distpicker2)

使用范围:UI2

Contents

component Distpicker2 ($UI/system/components/justep/distpicker/distpicker2) extends PopPicker

distpicker2,省/市/县选择

Constructor Top

  Distpicker2 ()
  Distpicker2 ( options)

Attributes Top

string class

组件class

string xid

组件标示

Methods Top

object getValue ()
void setValue (object value)

Constructor details Top

public Distpicker2 ()

distpicker2,省/市/县选择

public Distpicker2 ( options)

构造函数

Inherited from ViewComponent

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

Parameters

options

参数选项

Attributes Detail Top

public string class

组件class

	
		排列样式: form-inline
	

public string xid

组件标示

Methods Detail Top

public object getValue ()

获取当前选择地名

Return Value

object

包含province: 省, city: 市, district: 县

public void setValue (object value)

设置选择地名

Parameters

object value

包含province: 省, city: 市, district: 县

Return Value

void