SimplePropertyDataProvider Class

Implementation of [PropertyDataProvider] that uses an associative array.

Implements

Methods

Name Description
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 undefined | string    
label string    
onDataChanged PropertyDataChangeEvent    
records [categoryName: string]: PropertyRecord[]    

Defined in

Last Updated: 08 January, 2020