Methods
(async, static) createObj() → {Promise.<MeasureOption>}
构造一个新的 MeasureOption 对象。
- Source:
Returns:
- Type
- Promise.<MeasureOption>
(async, static) getIsShowTotalLength() → {boolean}
获取是否显示总长度
- Source:
Returns:
- Type
- boolean
(async, static) getMeasureContentWillChangeListener() → {Promise.<MeasureContentWillChangeListener>}
获取量算结果内容变化监听
- Source:
Returns:
- Type
- Promise.<MeasureContentWillChangeListener>
(async, static) setContentWillChangeListener(measureContentWillChangeListener) → {Promise.<Void>}
设置量算结果内容变化监听
Parameters:
| Name | Type | Description |
|---|---|---|
measureContentWillChangeListener |
MeasureContentWillChangeListener |
- Source:
Returns:
- Type
- Promise.<Void>
(async, static) setIsShowTotalLength(isShowTotalLength) → {Promise.<Void>}
设置是否显示总长度
Parameters:
| Name | Type | Description |
|---|---|---|
isShowTotalLength |
boolean | 是否显示总长度 |
- Source:
Returns:
- Type
- Promise.<Void>