From a9d32277887e04382960651d1a90ac02a335cee6 Mon Sep 17 00:00:00 2001 From: olemp Date: Tue, 1 Dec 2015 17:26:14 +0100 Subject: [PATCH] Added function declarations for ExecuteOrDelayUntilBodyLoaded, ExecuteOrDelayUntilScriptLoaded and ExecuteOrDelayUntilEventNotified. --- sharepoint/SharePoint.d.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/sharepoint/SharePoint.d.ts b/sharepoint/SharePoint.d.ts index c62b68b16..4e32dade4 100644 --- a/sharepoint/SharePoint.d.ts +++ b/sharepoint/SharePoint.d.ts @@ -1,12 +1,15 @@ -// Type definitions for SharePoint 2010 and 2013 -// Project: https://github.com/gandjustas/sptypescript -// Definitions by: Stanislav Vyshchepan , Andrey Markeev -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -/// +// Type definitions for SharePoint 2010 and 2013 +// Project: https://github.com/gandjustas/sptypescript +// Definitions by: Stanislav Vyshchepan , Andrey Markeev +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/// declare var _spBodyOnLoadFunctions: Function[]; declare var _spBodyOnLoadFunctionNames: string[]; declare var _spBodyOnLoadCalled: boolean; +declare function ExecuteOrDelayUntilBodyLoaded(initFunc: () => void): void; +declare function ExecuteOrDelayUntilScriptLoaded(func: () => void, depScriptFileName: string): boolean; +declare function ExecuteOrDelayUntilEventNotified(func: Function, eventName: string): boolean; declare var Strings:any; declare module SP {