dialog-content-directives.d.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 { OnChanges, OnInit, SimpleChanges, ElementRef } from '@angular/core';
  9. import { MatDialog } from './dialog';
  10. import { MatDialogRef } from './dialog-ref';
  11. /**
  12. * Button that will close the current dialog.
  13. */
  14. export declare class MatDialogClose implements OnInit, OnChanges {
  15. dialogRef: MatDialogRef<any>;
  16. private _elementRef;
  17. private _dialog;
  18. /** Screenreader label for the button. */
  19. ariaLabel: string;
  20. /** Dialog close input. */
  21. dialogResult: any;
  22. _matDialogClose: any;
  23. constructor(dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
  24. ngOnInit(): void;
  25. ngOnChanges(changes: SimpleChanges): void;
  26. }
  27. /**
  28. * Title of a dialog element. Stays fixed to the top of the dialog when scrolling.
  29. */
  30. export declare class MatDialogTitle implements OnInit {
  31. private _dialogRef;
  32. private _elementRef;
  33. private _dialog;
  34. id: string;
  35. constructor(_dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
  36. ngOnInit(): void;
  37. }
  38. /**
  39. * Scrollable content container of a dialog.
  40. */
  41. export declare class MatDialogContent {
  42. }
  43. /**
  44. * Container for the bottom action buttons in a dialog.
  45. * Stays fixed to the bottom when scrolling.
  46. */
  47. export declare class MatDialogActions {
  48. }