Hijacks the click event on the menu.

Parameters:
NameTypeDescription
menuIdstring

The ID of the menu to hijack.

routeHandlerfunction

The function to handle the routing.

optionsobject

The options for the hook.

Since
  • 4.0.2

Methods

(inner) hijackMenuClick(event)

Hijacks the click event on the menu.

Parameters:
NameTypeDescription
eventEvent

The click event.

Since
  • 4.0.2

(inner) updateCurrentMenuItem(link)

Update the current menu item.

Parameters:
NameTypeDescription
linkHTMLElement

The link to update the current menu item.

Since
  • 4.0.2