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

CardRowElement Class

Serves as the base for classes that are a card’s visual elements.

Declaration

export abstract class CardRowElement extends TypedSerializableModel

Remarks

Use the CardRow.Elements property to access a row’s elements. Refer to the CardLayoutTemplate class description to learn how to manage the layout of cards in the CardItem.

Inherited Members

constructor

Initializes a new instance of the CardRowElement 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

hAlignment Property

Declaration

hAlignment: ko.Observable<string>

Property Value

Type
Observable<string>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray