Namespace: defaultDataHandler

defaultDataHandler

Methods

(static) getInputElementValue(elements) → {*}

获取输入域标签元素的值
Parameters:
Name Type Description
elements Array.<Element> DOM元素
Source:
Returns:
Type
*

(static) getSelectElementValue(elements) → {*}

获取选择框标签元素的值
Parameters:
Name Type Description
elements Array.<Element> DOM元素
Source:
Returns:
Type
*

(static) getValue(elements, skipFnopt) → {*}

Parameters:
Name Type Attributes Description
elements Array.<Element> DOM元素
skipFn function <optional>
判断是否跳过值
Source:
Returns:
Type
*

(static) setInputElementValue(elements, 值)

设置输入域标签元素的值
Parameters:
Name Type Description
elements Array.<Element> DOM元素
*
Source:

(static) setSelectElementValue(elements, 值)

设置输入域标签元素的值
Parameters:
Name Type Description
elements Array.<Element> DOM元素
*
Source:

(static) setValue(elements, value, notSkipSetIfValueAbsentopt)

Parameters:
Name Type Attributes Default Description
elements Array.<Element> DOM元素
value *
notSkipSetIfValueAbsent boolean <optional>
false 是否跳过没有指定值的元素
Source: