LabelView
Classes
Constants
Functions
-
format(value) ⇒
* -
formatNumber(v) ⇒
string|number - extractBoundedValue(m)
-
findProcessor(model) ⇒
ValueProcessor|undefined
ValueProcessor
Kind: global class
- ValueProcessor
- new ValueProcessor(matcher, extractor, formatter)
- .matcher :
function - .extractor :
function - .formatter :
function
new ValueProcessor(matcher, extractor, formatter)
| Param | Type |
|---|---|
| matcher | function |
| extractor | function |
| formatter | function |
valueProcessor.matcher : function
Kind: instance property of ValueProcessor
valueProcessor.extractor : function
Kind: instance property of ValueProcessor
valueProcessor.formatter : function
Kind: instance property of ValueProcessor
processors : Array.<ValueProcessor>
Kind: global constant
format(value) ⇒ *
Kind: global function
| Param | Type |
|---|---|
| value | Number | String | Boolean |
formatNumber(v) ⇒ string | number
Kind: global function
| Param | Type |
|---|---|
| v | string |
extractBoundedValue(m)
Kind: global function
| Param | Type |
|---|---|
| m | BoundedValue |
findProcessor(model) ⇒ ValueProcessor | undefined
Kind: global function
| Param |
|---|
| model |
p(m, e, f) ⇒ ValueProcessor
Kind: global function
| Param | Type |
|---|---|
| m | function |
| e | function |
| f | function |