Creates a menu stack that originates from an inline menu.
(orientation: 'vertical' | 'horizontal')
| 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. |
no outgoing calls
no test coverage detected