Source Class

Declaration

export class Source extends SerializableModel

constructor

Initializes a new instance of the Source class.

Declaration

constructor(
    json?: any,
    serializer?: 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

dataMember: ko.Observable<string>

Property Value

Type
Observable<string>

dataSource Property

Declaration

dataSource: ko.Observable<string>

Property Value

Type
Observable<string>

name Property

Declaration

name: ko.Observable<string>

Property Value

Type
Observable<string>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.