@mobilelivenpm/fds-angular-qa
Version:
This library was generated with [Nx](https://nx.dev).
45 lines (44 loc) • 1.47 kB
TypeScript
import { OnChanges, OnInit, SimpleChanges, ElementRef } from '@angular/core';
import { FdsModalService } from './modal.service';
import { FdsModalRef } from './modal-ref';
/**
* Button that will close the current dialog.
*/
export declare class FdsModalClose implements OnInit, OnChanges {
dialogRef: FdsModalRef<any>;
private _elementRef;
private _dialog;
/** Screen reader label for the button. */
ariaLabel: string;
/** Default to "button" to prevents accidental form submits. */
type: 'submit' | 'button' | 'reset';
/** Dialog close input. */
dialogResult: any;
_matDialogClose: any;
constructor(dialogRef: FdsModalRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: FdsModalService);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
_onButtonClick(event: MouseEvent): void;
}
/**
* Title of a dialog element. Stays fixed to the top of the dialog when scrolling.
*/
export declare class FdsModalTitle implements OnInit {
private _dialogRef;
private _elementRef;
private _dialog;
id: string;
constructor(_dialogRef: FdsModalRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: FdsModalService);
ngOnInit(): void;
}
/**
* Scrollable content container of a dialog.
*/
export declare class FdsModalContent {
}
/**
* Container for the bottom action buttons in a dialog.
* Stays fixed to the bottom when scrolling.
*/
export declare class FdsModalActions {
}