Search.../

MenuContainer

A menu container is a container that holds the elements in a mobile menu. Learn more.

Guides

Additional information about this section

Properties

Store values associated with an object

  • global

    Indicates if an element appears on all pages or only on the current page.

  • id

    Gets the element's ID.

  • parent

    Gets the element's parent element.

  • rendered

    Indicates if an element is currently in the DOM structure.

  • type

    Gets the element's type.

Functions

Perform actions on an object

  • close( )

    Closes a mobile menu.

  • onMouseIn( )

    Adds an event handler that runs when the mouse pointer is moved onto the element. Deprecation note: The $w parameter of event handlers is being deprecated. To ...

  • onMouseOut( )

    Adds an event handler that runs when the mouse pointer is moved off of the element. Deprecation note: The $w parameter of event handlers is being deprecated. ...

  • onViewportEnter( )

    Adds an event handler that runs when an element is displayed in the viewable part of the current window.

  • onViewportLeave( )

    Adds an event handler that runs when an element is no longer displayed in the viewable part of the current window.

  • open( )

    Opens a mobile menu.

  • scrollTo( )

    Scrolls the page to the top of the element using an animation.

Mixes in: