Skip to main content
A newer version of this page is available. .

FormatConditionExpression Class

A format condition used to apply formatting according to the specified expression.

Declaration

export class FormatConditionExpression extends FormatConditionStyleBase

Inheritance

constructor

Initializes a new instance of the FormatConditionExpression class.

Declaration

constructor(
    modelJson?: any,
    serializer?: DxDesigner.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
modelJson any

A JSON object used for a dashboard deserialization. Do not pass this parameter directly.

serializer DxDesigner.Analytics.Utils.ModelSerializer

An object used for a dashboard deserialization. Do not pass this parameter directly.

Properties

expression Property

Declaration

expression: ko.Observable<string>

Property Value

Type
Observable<string>

getSpecificType Property

Declaration

getSpecificType: () => any

Property Value

Type
() => any

setSpecificType Property

Declaration

setSpecificType: (type: string) => void

Property Value

Type
(type: string) => void