@skyux/layout
Version:
This library was generated with [Nx](https://nx.dev).
35 lines (34 loc) • 849 B
TypeScript
import { ComponentFixture } from '@angular/core/testing';
/**
* Allows interaction with a SKY UX avatar component.
* @internal
*/
export declare class SkyCardFixture {
/**
* The card's current title.
*/
get titleText(): string | undefined;
/**
* The card's current content text.
*/
get contentText(): string | undefined;
/**
* A flag indicating whether the user can select the card.
*/
get selectable(): boolean;
/**
* A flag indicating whether the card is currently selected. If the card
* is not selectable, an error is thrown.
*/
get selected(): boolean;
constructor(fixture: ComponentFixture<any>, skyTestId: string);
/**
* Selects the card.
*/
select(): void;
/**
* Deselects the card.
*/
deselect(): void;
}