Skip to main content

Source Class

#Declaration

TypeScript
export class Source extends SerializableModel

#Inherited Members

#Inheritance

#constructor

Initializes a new instance of the Source class.

#Declaration

TypeScript
constructor(
    json?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

#Parameters

Name Type Description
json any

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

serializer ModelSerializer

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

#Properties

#dataMember Property

#Declaration

TypeScript
dataMember: ko.Observable<string>

#Property Value

Type
Observable<string>

#dataSource Property

#Declaration

TypeScript
dataSource: ko.Observable<string>

#Property Value

Type
Observable<string>

#name Property

#Declaration

TypeScript
name: ko.Observable<string>

#Property Value

Type
Observable<string>

#Methods

#getInfo Method

For internal use.

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.