@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
23 lines • 709 B
TypeScript
import { ComponentWrapper, ElementWrapper } from '@awsui/test-utils-core/dom';
import StructuredItemWrapper from '../internal/structured-item.js';
export declare class ListItemWrapper extends StructuredItemWrapper {
findDragHandle(): ElementWrapper | null;
}
export default class ListWrapper extends ComponentWrapper {
static rootSelector: string;
/**
* Returns all list items.
*/
findItems(): Array<ListItemWrapper>;
/**
* Returns an item for a given index.
*
* @param index 1-based index of the item to return.
*/
findItemByIndex(index: number): ListItemWrapper | null;
/**
* Returns an item for a given id.
*
*/
findItemById(id: string): ListItemWrapper | null;
}