MCPcopy
hub / github.com/angular/components / isDisabled

Method isDisabled

src/aria/toolbar/testing/toolbar-harness.ts:45–48  ·  view source on GitHub ↗

Gets whether the toolbar is disabled.

()

Source from the content-addressed store, hash-verified

43
44 /** Gets whether the toolbar is disabled. */
45 async isDisabled(): Promise<boolean> {
46 const host = await this.host();
47 return (await host.getAttribute('aria-disabled')) === 'true';
48 }
49
50 /** Gets the orientation of the toolbar. */
51 async getOrientation(): Promise<'vertical' | 'horizontal'> {

Callers 1

Calls 1

getAttributeMethod · 0.65

Tested by

no test coverage detected