SimplePropertyDataProvider Class
Implementation of [IPropertyDataProvider] that uses an associative array.
Implements
Methods
Name | Description | |
---|---|---|
constructor(): SimplePropertyDataProvider | ||
addCategory(category: PropertyCategory): number | ||
addProperty(propertyRecord: PropertyRecord, categoryIdx: number): void | ||
findCategoryIndex(category: PropertyCategory): number | ||
getData(): Promise<PropertyData> | ||
removeProperty(propertyRecord: PropertyRecord, categoryIdx: number): boolean | ||
replaceProperty(propertyRecord: PropertyRecord, categoryIdx: number, newRecord: PropertyRecord): boolean |
Properties
Name | Type | Description | |
---|---|---|---|
categories | PropertyCategory[] | ||
description | string | undefined | ||
label | PropertyRecord | ||
onDataChanged | PropertyDataChangeEvent | Property data change event. | |
records | [categoryName: string]: PropertyRecord[] |
Defined in
Last Updated: 20 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.