CardRowTextElementBase Class

Serves as the base for classes that are card elements displaying text data.

Declaration

export abstract class CardRowTextElementBase extends CardRowElement

Remarks

Refer to the CardLayoutTemplate class description to learn how to manage the layout of cards in the CardItem.

Inheritance

constructor

Declaration

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

Parameters

Type Name Description
any modelJson
DxDesigner.Analytics.Utils.ModelSerializer serializer

Properties

color Property

Declaration

color: KnockoutObservable<number>

Property Value

Type Description
KnockoutObservable<number>

fontFamily Property

Declaration

fontFamily: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

fontSize Property

Declaration

fontSize: KnockoutObservable<number>

Property Value

Type Description
KnockoutObservable<number>

predefinedForeColor Property

Declaration

predefinedForeColor: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

Methods

getInfo Method

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo