Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | import { OnDestroy } from '@angular/core';
|
---|
9 | import { OverlayContainer } from './overlay-container';
|
---|
10 | import { Platform } from '@angular/cdk/platform';
|
---|
11 | /**
|
---|
12 | * Alternative to OverlayContainer that supports correct displaying of overlay elements in
|
---|
13 | * Fullscreen mode
|
---|
14 | * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen
|
---|
15 | *
|
---|
16 | * Should be provided in the root component.
|
---|
17 | */
|
---|
18 | export declare class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {
|
---|
19 | private _fullScreenEventName;
|
---|
20 | private _fullScreenListener;
|
---|
21 | constructor(_document: any, platform: Platform);
|
---|
22 | ngOnDestroy(): void;
|
---|
23 | protected _createContainer(): void;
|
---|
24 | private _adjustParentForFullscreenChange;
|
---|
25 | private _addFullscreenChangeListener;
|
---|
26 | private _getEventName;
|
---|
27 | /**
|
---|
28 | * When the page is put into fullscreen mode, a specific element is specified.
|
---|
29 | * Only that element and its children are visible when in fullscreen mode.
|
---|
30 | */
|
---|
31 | getFullscreenElement(): Element;
|
---|
32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.