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

Method push

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

* Adds an item to the menu stack. * @param menu the MenuStackItem to put on the stack.

(menu: MenuStackItem)

Source from the content-addressed store, hash-verified

116 * @param menu the MenuStackItem to put on the stack.
117 */
118 push(menu: MenuStackItem) {
119 this._elements.push(menu);
120 }
121
122 /**
123 * Pop items off of the stack up to and including `lastItem` and emit each on the close

Callers

nothing calls this directly

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected