-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSP.UI.d.ts
More file actions
54 lines (49 loc) · 1.17 KB
/
SP.UI.d.ts
File metadata and controls
54 lines (49 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//TypeScript definition for SharePoint 2013 SP.UI
interface ISharepoint
{
UI: ISPUserInterface;
Ribbon;
Utilities;
ListOperation;
SOD;
Guid;
}
interface ISPUserInterface {
$create_DialogOptions();
ModalDialog;
Notify;
Status;
}
interface ISPPageContextInfo
{
webServerRelativeUrl: string;
webAbsoluteUrl: string;
siteAbsoluteUrl: string;
serverRequestPath: string;
layoutsUrl: string;
webTitle: string;
webTemplate: string;
tenantAppVersion: string;
webLogoUrl: string;
webLanguage: number;
currentLanguage: number;
currentUICultureName: string;
currentCultureName: string;
clientServerTimeDelta: number;
siteClientTag: string;
crossDomainPhotosEnabled: bool;
webUIVersion: number;
webPermMasks: any;
pageListId: string;
pageItemId: number;
pagePersonalizationScope: number;
userId: number;
systemUserKey: string;
alertsEnabled: bool;
siteServerRelativeUrl: string;
allowSilverlightPrompt: string;
};
declare var SP:ISharepoint;
declare var Commands;
declare var CUI;
declare var _spPageContextInfo: ISPPageContextInfo;