MCPcopy Index your code
hub / github.com/angular/components / getMenuTrigger

Method getMenuTrigger

src/cdk/menu/menu-item.ts:154–156  ·  view source on GitHub ↗

Get the CdkMenuTrigger associated with this element.

()

Source from the content-addressed store, hash-verified

152
153 /** Get the CdkMenuTrigger associated with this element. */
154 getMenuTrigger(): CdkMenuTrigger | null {
155 return this._menuTrigger;
156 }
157
158 /** Get the label for this element which is required by the FocusableOption interface. */
159 getLabel(): string {

Callers 7

menu-bar.spec.tsFile · 0.80
menu-group.spec.tsFile · 0.80
closeOpenMenuFunction · 0.80
_subscribeToMenuOpenFunction · 0.80
_handleKeyEventMethod · 0.80
_toggleOpenMenuMethod · 0.80
menu.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected