MCPcopy Index your code
hub / github.com/angular/components / clear

Method clear

src/cdk/testing/test-element.ts:80–80  ·  view source on GitHub ↗

Clear the element's input (for input and textarea elements only).

()

Source from the content-addressed store, hash-verified

78
79 /** Clear the element's input (for input and textarea elements only). */
80 clear(): Promise<void>;
81
82 /**
83 * Click the element at the default location for the current environment. If you need to guarantee

Callers 15

addMethod · 0.65
ngOnDestroyMethod · 0.65
selectMethod · 0.65
addMethod · 0.65
addKeywordMethod · 0.65
addKeywordMethod · 0.65
addMethod · 0.65
toggleAllRowsMethod · 0.65
setValueMethod · 0.65
addMethod · 0.65
setValueMethod · 0.65
_clearSelectionMethod · 0.65

Implementers 3

ProtractorElementsrc/cdk/testing/protractor/protractor-
SeleniumWebDriverElementsrc/cdk/testing/selenium-webdriver/sel
UnitTestElementsrc/cdk/testing/testbed/unit-test-elem

Calls

no outgoing calls

Tested by 2

addMethod · 0.52
clearMethod · 0.52