@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
17 lines • 565 B
TypeScript
import { ComponentWrapper, ElementWrapper } from '@awsui/test-utils-core/dom';
export default class TextareaWrapper extends ComponentWrapper<HTMLTextAreaElement> {
static rootSelector: string;
findNativeTextarea(): ElementWrapper<HTMLTextAreaElement>;
/**
* Gets the value of the component.
*
* Returns the current value of the textarea.
*/
getTextareaValue(): string;
/**
* Sets the value of the component and calls the onChange handler.
*
* @param value value to set the textarea to.
*/
setTextareaValue(value: string): void;
}