UNPKG

@xcons/widget

Version:

XCon Studio widget utilities with advanced template rendering, reactive binding system and registry pattern support

43 lines (42 loc) 1.03 kB
export declare class ReactivePropertyManager { private logContext; private reactiveProperties; private hasReactiveProperties; constructor(logContext?: string); /** * Detect reactive properties from decorators */ detectReactiveProperties(model: any): void; /** * Setup nested model hooks */ setupNestedModelHooks(model: any, updateCallback: (propertyPath: string) => void): void; /** * Add reactive property manually */ addReactiveProperty(propertyName: string): boolean; /** * Remove reactive property */ removeReactiveProperty(propertyName: string): boolean; /** * Get reactive properties */ getReactiveProperties(): Set<string>; /** * Check if has reactive properties */ hasProperties(): boolean; /** * Get count of reactive properties */ getCount(): number; /** * Clear all properties */ clear(): void; /** * Generic logging method */ private log; }