Skip to main content
Version: 1.x

@microsoft/fast-element > Observable

Observable variable

Common Observable APIs.

Signature:
Observable: Readonly<{
setArrayObserverFactory(factory: (collection: any[]) => Notifier): void;
getNotifier: (source: any) => Notifier;
track(source: unknown, propertyName: string): void;
trackVolatile(): void;
notify(source: unknown, args: any): void;
defineProperty(target: {}, nameOrAccessor: string | Accessor): void;
getAccessors: (target: {}) => Accessor[];
binding<TSource = any, TReturn = any, TParent = any>(binding: Binding<TSource, TReturn, TParent>, initialSubscriber?: Subscriber | undefined, isVolatileBinding?: boolean): BindingObserver<TSource, TReturn, TParent>;
isVolatileBinding<TSource_1 = any, TReturn_1 = any, TParent_1 = any>(binding: Binding<TSource_1, TReturn_1, TParent_1>): boolean;
}>