Skip to content

Class: ValueResolver

Resolve any value.

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Currently none inherited from the parent class(es).

Accessors

Class Accessors

Currently none in this class.

Inherited Accessors

Currently none inherited from the parent class(es).

Methods

Class Methods

Inherited Methods

Currently none inherited from the parent class(es).

Constructors

Constructor

+ new ValueResolver(): ValueResolver

Returns: ValueResolver

Methods

Static resolveValue

resolveValue(sValue: any, context?: IContext = ..., recursive?: boolean = true, excludedTypes?: [ValueType], style?: string, keepNullValue?: boolean): Promise<any>

Parameters:

Name Type Description
sValue any value to be resolved
context? IContext = ... 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>