Class Index | File Index

Classes


Class $we.widget.Form


Defined in: form.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
$we.widget.Form(container, config)
Config配置说明
eleConfigs:元素配置列表
Field Summary
Field Attributes Field Name and Description
<inner>  
事件
<inner>  
表单接口
Method Summary
Method Attributes Method Name and Description
<inner>  
组装表单
<inner>  
清楚Tip
<inner>  
获取表单元素列表
<inner>  
获取数据
<inner>  
设置数据
<inner>  
显示错误
<inner>  
显示成功信息
<inner>  
验证表单
<static>  
$we.widget.Form.run()
Run
Class Detail
$we.widget.Form(container, config)
Config配置说明
eleConfigs:元素配置列表
Parameters:
container
表单容器
config
表单配置 commit 提交函数
Field Detail
<inner> $we.widget.Form.events
事件

<inner> $we.widget.Form.interfaces
表单接口
Method Detail
<inner> $we.widget.Form.interfaces.assemble(config)
组装表单
Parameters:
config

<inner> $we.widget.Form.interfaces.clearTip(name)
清楚Tip
Parameters:
name

<inner> $we.widget.Form.interfaces.getElements(container)
获取表单元素列表
Parameters:
container

<inner> $we.widget.Form.interfaces.getValue(name)
获取数据
Parameters:
name

<inner> $we.widget.Form.interfaces.setValue(name, value)
设置数据
Parameters:
name
value

<inner> $we.widget.Form.interfaces.showError(name, message)
显示错误
Parameters:
name
message

<inner> $we.widget.Form.interfaces.showSuccess(name, message)
显示成功信息
Parameters:
name
message

<inner> $we.widget.Form.interfaces.valid(ele)
验证表单
Parameters:
ele

<static> $we.widget.Form.run()
Run

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Jan 06 2013 19:48:20 GMT+0800 (CST)