UNPKG

vulcain-corejs

Version:
24 lines (23 loc) 448 B
import * as rx from 'rx'; export interface IDynamicProperty<T> { /** * Subscribe on property changed */ propertyChanged: rx.Observable<any>; /** * Get the current value */ value: T; /** * Set the local property value. The value is not persisted */ set(value: T): any; /** * Property name */ name: string; /** * Reset to its default value */ reset(): void; }