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

Method _getDisabled

src/material/menu/menu-item.ts:141–143  ·  view source on GitHub ↗

Gets the `disabled` attribute value for the menu item.

()

Source from the content-addressed store, hash-verified

139
140 /** Gets the `disabled` attribute value for the menu item. */
141 _getDisabled(): boolean | null {
142 return this.disabledInteractive || !this.disabled ? null : true;
143 }
144
145 /** Returns the host DOM element. */
146 _getHostElement(): HTMLElement {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected