MCPcopy 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

Calls 1

hasClassMethod · 0.65

Tested by

no test coverage detected