Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ click
Method
click
src/material/core/testing/option-harness.ts:45–47 ·
view source on GitHub ↗
Clicks the option.
()
Source
from the content-addressed store, hash-verified
43
44
/** Clicks the option. */
45
async
click(): Promise<void> {
46
return
(
await
this.host()).click();
47
}
48
49
/** Gets the option's label text. */
50
async
getText(): Promise<string> {
Callers
nothing calls this directly
Calls
1
click
Method · 0.65
Tested by
no test coverage detected