Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ isInline
Method
isInline
src/material/icon/testing/icon-harness.ts:71–73 ·
view source on GitHub ↗
Gets whether the icon is inline.
()
Source
from the content-addressed store, hash-verified
69
70
/** Gets whether the icon is inline. */
71
async
isInline(): Promise<boolean> {
72
return
(
await
this.host()).hasClass(
'mat-icon-inline'
);
73
}
74
}
Callers
2
icon-harness-example.spec.ts
File · 0.80
icon-harness.spec.ts
File · 0.80
Calls
1
hasClass
Method · 0.65
Tested by
no test coverage detected