mini.CheckBoxList

复选框组。

Extend

mini.ListBox

Usage

<div id="cbl1" class="mini-checkboxlist" repeatItems="2" repeatLayout="table"
    textField="text" valueField="id" value="cn,usa" onload="onLoad"
    url="../data/countrys.txt" >
</div>

Screenshots

Examples

CheckBoxList

Properties

NameTypeDescriptionDefault Set? Get? Tag?
multiSelect Boolean 多选 true
repeatLayout String:none,flow,table 布局方式 none
repeatDirection String:vertical, horizontal 平铺方向 horizontal
repeatItems Number 平铺显示项 0

Methods

NameParameterDescriptionReturn
setValue(value) 设置值
getValue() 获取值

Events

NameEventObjectDescription
valuechanged 值改变时发生