Class: ValueResolver¶
Resolve any value.
Hierarchy¶
- ValueResolver
Summary¶
Methods¶
Class Methods¶
Inherited Methods¶
Currently none inherited from the parent class(es).
Methods¶
Static
resolveValue¶
▸ resolveValue(sValue
: any, context
: IContext, recursive
: boolean, excludedTypes?
: [ValueType], style?
: string, keepNullValue?
: boolean): Promise‹any›
Parameters:
Name | Type | Default | Description |
---|---|---|---|
sValue |
any | - | value to be resolved |
context |
IContext | ContextFromPage() | context with binding object for resolve value |
recursive |
boolean | true | define whether the sValue can be resolved recursively |
excludedTypes? |
[ValueType] | - | define the types to be excluded during resolve process |
style? |
string | - | style class to be applied to the value (currently its only for font icon) |
keepNullValue? |
boolean | - | whether resolve null to undefined or null |
Returns: Promise‹any›