方法入口
var $input= $().$b("input",config) //返回组件的jQuery对象,即下面模板的jQuery对象
组件模板
<input
type = "text"
id = "<%= id %>"
name = "<%= name %>"
class = "<%= className==''?'blo_input':className %>"
style= "<%= style %>"
value = "<%= defaultValue %>"
/>
配置属性(通用属性参看2.3节)
属性名 | 类型 | 默认值 | 说明 |
---|---|---|---|
isVerify | Boolean | false | 组件是否需要验证 |
tplUrl | String | template/input.html | 模板路径 |
暂无 | ||
说明 | ||
入参 | ||
返回 |