Hijacks the click event on the menu.
Parameters:
| Name | Type | Description |
|---|---|---|
menuId | string | The ID of the menu to hijack. |
routeHandler | function | The function to handle the routing. |
options | object | The options for the hook. |
- Since
- 4.0.2
Methods
(inner) hijackMenuClick(event)
Hijacks the click event on the menu.
Parameters:
| Name | Type | Description |
|---|---|---|
event | Event | The click event. |
- Since
- 4.0.2
(inner) updateCurrentMenuItem(link)
Update the current menu item.
Parameters:
| Name | Type | Description |
|---|---|---|
link | HTMLElement | The link to update the current menu item. |
- Since
- 4.0.2