Class: Header

munchkin~ws.ui. Header

Manage `.header` HTML components.
Version:
  • 1.0.0
Author:
  • Bruno Lesieur
Source:

Members

className :string

The original name of component.
Type:
  • string
Default Value:
  • "header"
Source:

Methods

openMenu(selectoropt, eventListeneropt)

Open/Close the Navigation Menu when you `click` on `.header--navigation` with a `.is-opened` toggle class (e. i. for mobile).
Parameters:
Name Type Attributes Description
selector string <optional>
Select alternative HTML Components to apply the behavior.
eventListener string <optional>
Select alternative Event to perform the behavior.
Source:

showSubitem(selectoropt, eventListeneropt)

Display/Hide the Sup Navigation Menu when you `click` on `.share-caret-down` with a `.is-displayed` toggle class (e. i. for mobile).
Parameters:
Name Type Attributes Description
selector string <optional>
Select alternative HTML Components to apply the behavior.
eventListener string <optional>
Select alternative Event to perform the behavior.
Source: