@skyux/modals
Version:
This library was generated with [Nx](https://nx.dev).
58 lines (57 loc) • 1.43 kB
TypeScript
import { ComponentFixture } from '@angular/core/testing';
/**
* Allows interaction with a SKY UX modal component.
* @internal
*/
export declare class SkyModalFixture {
constructor(fixture: ComponentFixture<unknown>, skyTestId: string);
/**
* The modal component's ARIA describedby attribute.
*/
get ariaDescribedBy(): string | undefined;
/**
* The modal component's ARIA labelledby attribute.
*/
get ariaLabelledBy(): string | undefined;
/**
* The modal component's role attribute.
*/
get ariaRole(): string | undefined;
/**
* Whether or not the modal is a full page modal.
*/
get fullPage(): boolean;
/**
* The size of the modal.
*/
get size(): string | undefined;
/**
* Whether or not the modal is set up for tiled content.
*/
get tiledBody(): boolean;
/**
* Clicks the modal header's "close" button.
*/
clickHeaderCloseButton(): void;
/**
* Clicks the modal header's "help" button.
*/
clickHelpButton(): void;
/**
* Returns the main modal element.
*/
getModalDiv(): any;
/**
* Returns the modal's content element.
*/
getModalContentEl(): any;
/**
* Returns the modal's footer element.
*/
getModalFooterEl(): any;
/**
* Returns the modal's header element.
*/
getModalHeaderEl(): any;
}