MCPcopy
hub / github.com/winjs/winjs / IObservable

Interface IObservable

tests/FlyoutsAndMenus/cascadingFlyouts.ts:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 var DEFAULT_CHAIN_SIZE = 6;
22
23 interface IObservable {
24 addEventListener(eventName: string, eventHandler: Function, useCapture?: boolean): void;
25 removeEventListener(eventName: string, eventHandler: Function, useCapture?: boolean): void;
26 }
27 var listenOnce = (observable: IObservable, eventName: string, callback: () => any): void => {
28 observable.addEventListener(eventName, function handler() {
29 observable.removeEventListener(eventName, handler, false);

Callers 16

waitForDeferredActionFunction · 0.65
waitForReady_workFunction · 0.65
waitForNotReadyFunction · 0.65
whenLoadingCompleteFunction · 0.65
skipFirstAnimationFunction · 0.65
waitForReady_workFunction · 0.65
initUnhandledErrorsFunction · 0.65
waitForReady_handlerFunction · 0.65
waitForNotReady_handlerFunction · 0.65
waitForReady_handlerFunction · 0.65

Implementers 1

_ElementResizeInstrumentsrc/js/WinJS/Controls/ElementResizeIns

Calls

no outgoing calls

Tested by

no test coverage detected