* Return true if the enclosing parent menu is configured in a horizontal orientation, false * otherwise or if no parent.
()
| 312 | * otherwise or if no parent. |
| 313 | */ |
| 314 | private _isParentVertical() { |
| 315 | return this._parentMenu?.orientation === 'vertical'; |
| 316 | } |
| 317 | |
| 318 | /** Sets the `type` attribute of the menu item. */ |
| 319 | private _setType() { |