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

Method remove

src/material/chips/testing/chip-harness.ts:62–65  ·  view source on GitHub ↗

Delete a chip from the set.

()

Source from the content-addressed store, hash-verified

60
61 /** Delete a chip from the set. */
62 async remove(): Promise<void> {
63 const hostEl = await this.host();
64 await hostEl.sendKeys(TestKey.DELETE);
65 }
66
67 /**
68 * Gets the edit button inside of a chip.

Callers

nothing calls this directly

Calls 1

sendKeysMethod · 0.65

Tested by

no test coverage detected