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

Method click

src/material/button/testing/button-harness.ts:81–83  ·  view source on GitHub ↗
(...args: [] | ['center'] | [number, number])

Source from the content-addressed store, hash-verified

79 /** Clicks the button. */
80 click(): Promise<void>;
81 async click(...args: [] | ['center'] | [number, number]): Promise<void> {
82 return (await this.host()).click(...(args as []));
83 }
84
85 /** Gets a boolean promise indicating if the button is disabled. */
86 async isDisabled(): Promise<boolean> {

Callers

nothing calls this directly

Calls 1

clickMethod · 0.65

Tested by

no test coverage detected