-
Notifications
You must be signed in to change notification settings - Fork 10
/
IHostPageLayoutService.yml
86 lines (85 loc) · 2.9 KB
/
IHostPageLayoutService.yml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
### YamlMime:TSType
name: IHostPageLayoutService
uid: azure-devops-extension-api.IHostPageLayoutService
package: azure-devops-extension-api
summary: >-
Service for interacting with the layout of the page: managing full-screen
mode,
opening dialogs and panels
fullName: IHostPageLayoutService
remarks: ''
isDeprecated: false
type: interface
properties:
- name: openCustomDialog
uid: azure-devops-extension-api.IHostPageLayoutService.openCustomDialog
package: azure-devops-extension-api
summary: Open a dialog in the host frame, showing custom external content
fullName: openCustomDialog
remarks: ''
isDeprecated: false
syntax:
content: >-
openCustomDialog: (contentContributionId: string, options?:
IDialogOptions<TResult>) => void
return:
description: ''
type: >-
(contentContributionId: string, options?:
IDialogOptions<TResult>) => void
- name: openMessageDialog
uid: azure-devops-extension-api.IHostPageLayoutService.openMessageDialog
package: azure-devops-extension-api
summary: >-
Open a dialog in the host frame, showing the specified text message, an OK
and optional Cancel button
fullName: openMessageDialog
remarks: ''
isDeprecated: false
syntax:
content: >-
openMessageDialog: (message: string, options?: IMessageDialogOptions) =>
void
return:
description: ''
type: '(message: string, options?: IMessageDialogOptions) => void'
- name: openPanel
uid: azure-devops-extension-api.IHostPageLayoutService.openPanel
package: azure-devops-extension-api
summary: Open a panel in the host frame, showing custom external content
fullName: openPanel
remarks: ''
isDeprecated: false
syntax:
content: >-
openPanel: (contentContributionId: string, options:
IPanelOptions<TResult>) => void
return:
description: ''
type: >-
(contentContributionId: string, options: IPanelOptions<TResult>)
=> void
methods:
- name: getFullScreenMode()
uid: azure-devops-extension-api.IHostPageLayoutService.getFullScreenMode
package: azure-devops-extension-api
summary: Gets whether the page is currently in full screen mode
remarks: ''
isDeprecated: false
syntax:
content: 'function getFullScreenMode(): Promise<boolean>'
return:
description: ''
type: Promise<boolean>
- name: setFullScreenMode(boolean)
uid: azure-devops-extension-api.IHostPageLayoutService.setFullScreenMode
package: azure-devops-extension-api
summary: Enter or exit full screen mode
remarks: ''
isDeprecated: false
syntax:
content: 'function setFullScreenMode(fullScreenMode: boolean)'
parameters:
- id: fullScreenMode
type: boolean
description: True to enter full-screen mode, false to exit.