ve.Navbar

ve.Feature. ve.Navbar

Refer to ve.Feature for methods or fields inherited from the parent, such as automatic destructuring.

Represents a Navbar Feature, ideally at the global level (unless it is specifically bound to an element in .options).

  • Functional binding: veNavbar().
Constructor:
  • arg0_navbar_obj: Object
    • <tab_key>: Object
      • name: string
      • active: boolean
      • <dropdown_key>: Object
        • <dropdown_key>: Object - Nested dropdown if available.
        • .active: boolean
        • .onclick: function(HTMLElement)
        • .keybind: string - Mousetrap key combo which triggers the bound .onclick event if possible.
        • .name: string
  • arg1_options: Object
    • .anchor_element: HTMLElement|string
    • .attributes: Object
      • <attribute_key>: string
    • .name: string
    • .style: Object
      • <style_key>: string
Methods:
  • generateHTMLRecursively(arg0_navbar_obj: Object) | HTMLUListElement

Constructor

new ve.Navbar()

Source:

Extends

Members

instances :Array.<ve.Feature>

Overrides:
Source:
Type:

Methods

addComponents(arg0_components_obj)

Adds components to the present this.element.

Overrides:
Source:
Parameters:
Name Type Description
arg0_components_obj Object

close()

Alias for this.remove().

Overrides:
Source:

remove()

Removes the ve.Feature from its static .instances field in addition to unmounting the feature from the DOM.

Overrides:
Source:

removeComponents(arg0_components_obj)

Removes components from the present this.element.

Overrides:
Source:
Parameters:
Name Type Description
arg0_components_obj Object

updateOwner()

Iterates over all present Vercengen components in ve.Feature and sets their owner to the current Feature if they do not already have populated .owner/.owners fields.

Overrides:
Source: