A delay in milliseconds until the component closes after a "focusAreas" element loses focus to see whether a new area element gains focus again.
The hylo-data-element component which stores the menu data. Can be provided as css query string or as HTMLHyloDataElement object.
By default the component gets the class "hylo-open" when it is "open". This property disables it.
Defines areas which are watched for focus events. Sets "open" to true when an element inside an area or the area itself gains focus. Sets "open" to false when the focus is lost and no new area element gains focus again.
If the area element has the css class "dont-open-menu", "open" is not set to true.
Can be defined as css query string, as HTMLElement object or as an array of HTMLElement objects.
A delay in milliseconds until the component fires the hyloFocusoutAreas event while the component is waiting whether it is firing the hyloFocusinAreas event. In that case the hyloFocusoutAreas event is not fired.
Contains the languages object of the current page.
The object is provided by the current hylo-languages-urls component and is filled by the component itself. The hyloHeaderUpdate event is triggered when the object changes.
The object could be provided manually as well. To trigger the update event, the object has to be replaced, not just manipulated.
Contains the menu object.
Is filled with the hylo-data-element object "data" by the component itself but can be set manually as well. The hyloHeaderUpdate event is triggered when the object changes.
If you provide the data manually, to trigger the update event the object has to be replaced, not just manipulated.
The visibility state of the menu. Can be used to set an initial state. Gets set by the component itself but can be set manually as well.
Fires the events hyloMenuOpen and hyloMenuClose when the state changes.
A delay in milliseconds until the component fires the hyloMenuUpdated event while the component is waiting for new updates happening.
Fires every time a "focusAreas" HTMLElement or one of its children gains focus.
Emits an area with all "focusAreas" HTMLElements which contain the currently focused element or are the focused element itself.
Fires when a "focusAreas" HTMLElement or one of its children loses focus. See "focusDelay".
"open" changed to false.
"open" changed to true.
The menu updated. Fires when the menu data changed and on "hyloBreakpointChanged", "hyloNavDidChange", "hyloLocationSearchChanged".
Generated using TypeDoc
Provides the general functionality of a page menu.
Updates all nested hylo-accessibility-list components on updates.
Set the class "hylo-open" depending on the property "open".