UNPKG

mframejs

Version:
25 lines (20 loc) 595 B
import { ArrayObserverHandler } from '../binding/array/arrayObserverHandler'; import { PropertyObserverHandler } from '../binding/property/propertyObserverHandler'; export interface IListener { /** * Name, mostly useful for debugging */ name?: string | null | undefined; /** * current value */ value?: any; /** * function that will be called when changes happend */ call: Function; /** * private, do not set, will be set by mframejs */ caller?: ArrayObserverHandler | PropertyObserverHandler; }