@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
48 lines • 1.39 kB
TypeScript
import { ComponentWrapper, ElementWrapper } from '@awsui/test-utils-core/dom';
import TextFilterWrapper from '../text-filter';
import ToggleWrapper from '../toggle';
export declare class ContentDisplayOptionWrapper extends ComponentWrapper {
private getListItem;
/**
* Returns the drag handle for the option item.
*/
findDragHandle(): ElementWrapper;
/**
* Returns the text label displayed in the option item.
*/
findLabel(): ElementWrapper;
/**
* Returns the visibility toggle for the option item.
*/
findVisibilityToggle(): ToggleWrapper;
}
export default class ContentDisplayPreferenceWrapper extends ComponentWrapper {
static rootSelector: string;
/**
* Returns the title.
*/
findTitle(): ElementWrapper;
/**
* Returns the preference description displayed below the title.
*/
findDescription(): ElementWrapper;
private getList;
/**
* Returns an option for a given index.
*
* @param index 1-based index of the option to return.
*/
findOptionByIndex(index: number): ContentDisplayOptionWrapper | null;
/**
* Returns options that the user can reorder.
*/
findOptions(): Array<ContentDisplayOptionWrapper>;
/**
* Returns the text filter input.
*/
findTextFilter(): TextFilterWrapper | null;
/**
* Returns no match with the clear filter button.
*/
findNoMatch(): ElementWrapper | null;
}