Get the preferred positions for the opened menu relative to the menu item.
()
| 296 | |
| 297 | /** Get the preferred positions for the opened menu relative to the menu item. */ |
| 298 | private _getOverlayPositions(): ConnectedPosition[] { |
| 299 | return ( |
| 300 | this.menuPosition ?? |
| 301 | (!this._parentMenu || this._parentMenu.orientation === 'horizontal' |
| 302 | ? STANDARD_DROPDOWN_BELOW_POSITIONS |
| 303 | : STANDARD_DROPDOWN_ADJACENT_POSITIONS) |
| 304 | ); |
| 305 | } |
| 306 | |
| 307 | /** |
| 308 | * Subscribe to the MenuStack close events if this is a standalone trigger and close out the menu |
no outgoing calls
no test coverage detected