Overview
Selector
[qzNavigationMenu]
| Input |
Type |
Default |
Required |
Description |
orientation |
NavigationMenuOrientation |
DEFAULT_NAVIGATION_MENU_CONFIG.orientation |
|
|
showDelay |
number |
DEFAULT_NAVIGATION_MENU_CONFIG.showDelay |
|
|
hideDelay |
number |
DEFAULT_NAVIGATION_MENU_CONFIG.hideDelay |
|
|
placement |
OverlayPlacement |
DEFAULT_NAVIGATION_MENU_CONFIG.placement |
|
|
offset |
number |
DEFAULT_NAVIGATION_MENU_CONFIG.offset |
|
|
flip |
unknown |
DEFAULT_NAVIGATION_MENU_CONFIG.flip |
|
Transform booleanAttribute; reads as boolean. |
flipAxis |
OverlayFlipAxis |
DEFAULT_NAVIGATION_MENU_CONFIG.flipAxis |
|
|
disabled |
unknown |
false |
|
Transform booleanAttribute; reads as boolean. |
Models
Two-way bindings: each model is an input and emits the matching change output.
| Model |
Type |
Default |
Required |
Change output |
Description |
value |
string |
'' |
|
valueChange |
Empty string means no flyout is open; item values should be nonempty. |
Properties
| Name |
Type |
Description |
readonly activeItem |
WritableSignal<NavigationMenuItemDirective | null> |
|
readonly isOpen |
Signal<boolean> |
|
Public methods
registerItem
registerItem(item: NavigationMenuItemDirective): void
unregisterItem
unregisterItem(item: NavigationMenuItemDirective): void
refreshOrder
refreshOrder(): void
setTrigger
setTrigger(item: NavigationMenuItemDirective, trigger: NavigationMenuTriggerDirective | null): void
isActive
isActive(item: NavigationMenuItemDirective): boolean
controlsId
controlsId(item: NavigationMenuItemDirective): string | null
contentChanged
contentChanged(item: NavigationMenuItemDirective, available: boolean): void
toggle
toggle(item: NavigationMenuItemDirective): void
open
open(item: NavigationMenuItemDirective, focusPanel?: boolean): void
close
close(restoreFocus: boolean): void
| Parameter |
Type |
Optional |
Description |
restoreFocus |
boolean |
|
|
focusTrigger
focusTrigger(item: NavigationMenuItemDirective): void
handleTriggerKeydown
handleTriggerKeydown(item: NavigationMenuItemDirective, event: KeyboardEvent): void
scheduleShow
scheduleShow(item: NavigationMenuItemDirective): void
scheduleHide
scheduleHide(): void
cancelTimers
cancelTimers(): void
onPanelPointerEnter
onPanelPointerEnter(): void
onPanelPointerLeave
onPanelPointerLeave(): void