Class RootNavigationGroup

Extends NavigationGroup and provides additional logic for hiding and showing the UI on the root container.

Hierarchy (view full)

Constructors

Properties

container: UIContainer
onAction?: ActionCallback

If overwritten, allows to implement custom action behavior. Per default, the internal handler will still be executed. To prevent execution of the default action handler, call preventDefault();

{Action} The action that was called

{HTMLElement} The target element that action was called on

{() => void} A function that, when called, will prevent the execution of the default handler

onNavigation?: NavigationCallback

If overwritten, allows to implement custom navigation behavior. Per default, the internal handler will still be executed. To prevent execution of the default navigation handler, call preventDefault();

{Direction} The direction to move along

{HTMLElement} The target element for the event

{() => void} A function that, when called, will prevent the execution of the default handler

Methods