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

Function _triggerIsAriaDisabled

src/material/menu/menu-trigger-base.ts:492–494  ·  view source on GitHub ↗

* Detect if the trigger element is aria-disabled, indicating it should behave as * disabled and not open the menu.

()

Source from the content-addressed store, hash-verified

490 * disabled and not open the menu.
491 */
492 private _triggerIsAriaDisabled() {
493 return booleanAttribute(this._element.nativeElement.getAttribute('aria-disabled'));
494 }
495}

Callers

nothing calls this directly

Calls 1

getAttributeMethod · 0.65

Tested by

no test coverage detected