* Adds an item to the menu stack. * @param menu the MenuStackItem to put on the stack.
(menu: MenuStackItem)
| 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 |