MCPcopy Create free account
hub / github.com/angular/components / clear

Method clear

src/material/chips/chip-input.ts:215–217  ·  view source on GitHub ↗

Clears the input

()

Source from the content-addressed store, hash-verified

213
214 /** Clears the input */
215 clear(): void {
216 this.inputElement.value = '';
217 }
218
219 /**
220 * Implemented as part of MatChipTextControl.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected