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

Method _isParentVertical

src/cdk/menu/menu-item.ts:314–316  ·  view source on GitHub ↗

* Return true if the enclosing parent menu is configured in a horizontal orientation, false * otherwise or if no parent.

()

Source from the content-addressed store, hash-verified

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() {

Callers 1

_onKeydownMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected