Skip to main content

LabelView

Classes

ValueProcessor

Constants

processors : Array.<ValueProcessor>

Functions

format(value)*
formatNumber(v)string | number
extractBoundedValue(m)
findProcessor(model)ValueProcessor | undefined
p(m, e, f)ValueProcessor

ValueProcessor

Kind: global class

new ValueProcessor(matcher, extractor, formatter)

ParamType
matcherfunction
extractorfunction
formatterfunction

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

ParamType
valueNumber | String | Boolean

formatNumber(v) ⇒ string | number

Kind: global function

ParamType
vstring

extractBoundedValue(m)

Kind: global function

ParamType
mBoundedValue

findProcessor(model) ⇒ ValueProcessor | undefined

Kind: global function

Param
model

p(m, e, f) ⇒ ValueProcessor

Kind: global function

ParamType
mfunction
efunction
ffunction