fullscreen-overlay-container.d.ts 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. /**
  11. * Alternative to OverlayContainer that supports correct displaying of overlay elements in
  12. * Fullscreen mode
  13. * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen
  14. *
  15. * Should be provided in the root component.
  16. */
  17. export declare class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {
  18. private _fullScreenEventName;
  19. private _fullScreenListener;
  20. constructor(_document: any);
  21. ngOnDestroy(): void;
  22. protected _createContainer(): void;
  23. private _adjustParentForFullscreenChange;
  24. private _addFullscreenChangeListener;
  25. private _getEventName;
  26. /**
  27. * When the page is put into fullscreen mode, a specific element is specified.
  28. * Only that element and its children are visible when in fullscreen mode.
  29. */
  30. getFullscreenElement(): Element;
  31. }