# Class: MeasureOption

## MeasureOption()

#### new MeasureOption()

量算参数选项类

Source:
  - MeasureOption.js, line 6

### Methods

#### (async, static) createObj() → {Promise.<MeasureOption>}

构造一个新的 MeasureOption 对象。

Source:
  - MeasureOption.js, line 17

##### Returns:

Type
  Promise.<MeasureOption>

#### (async, static) getIsShowTotalLength() → {boolean}

获取是否显示总长度

Source:
  - MeasureOption.js, line 34

##### Returns:

Type
  boolean

#### (async, static) getMeasureContentWillChangeListener() → {Promise.<MeasureContentWillChangeListener>}

获取量算结果内容变化监听

Source:
  - MeasureOption.js, line 81

##### Returns:

Type
  Promise.<MeasureContentWillChangeListener>

#### (async, static) setContentWillChangeListener(measureContentWillChangeListener) → {Promise.<Void>}

设置量算结果内容变化监听

##### Parameters:

Name | Type | Description
--- | --- | ---
`measureContentWillChangeListener` | MeasureContentWillChangeListener |

Source:
  - MeasureOption.js, line 65

##### Returns:

Type
  Promise.<Void>

#### (async, static) setIsShowTotalLength(isShowTotalLength) → {Promise.<Void>}

设置是否显示总长度

##### Parameters:

Name | Type | Description
--- | --- | ---
`isShowTotalLength` | boolean | 是否显示总长度

Source:
  - MeasureOption.js, line 50

##### Returns:

Type
  Promise.<Void>