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

Method inline

src/cdk/menu/menu-stack.ts:108–112  ·  view source on GitHub ↗

Creates a menu stack that originates from an inline menu.

(orientation: 'vertical' | 'horizontal')

Source from the content-addressed store, hash-verified

106
107 /** Creates a menu stack that originates from an inline menu. */
108 static inline(orientation: 'vertical' | 'horizontal') {
109 const stack = new MenuStack();
110 stack._inlineMenuOrientation = orientation;
111 return stack;
112 }
113
114 /**
115 * Adds an item to the menu stack.

Callers 2

menu-bar.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected