ve.PageMenuWindow

ve.Feature. ve.PageMenuWindow

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

Represents a PageMenuWindow Feature that contains a page_obj type directly analogous to that used in ve.PageMenu. The associated ve.Window is stored in .window.

  • Functional binding: vePageMenuWindow().
Constructor:
  • arg0_page_obj: Object
  • arg1_options: Object - Superset of .options for ve.Window.
    • anchor="top_left" - Either 'bottom_left'/'bottom_right'/'top_left'/'top_right'.
    • height="12rem": number
    • width="12rem": number
    • x=HTML.mouse_x: number
    • y=HTML.mouse_y: number
    • mode="window": string - Either 'static_ui'/'static_window'/'window'.
    • name="": string - Auto-resolves to 'Window' instead if .can_rename=true.
    • theme: string - The CSS theme to apply to the Feature.
    • can_close: boolean
    • can_rename: boolean
    • draggable: boolean
    • headless: boolean
    • resizeable: boolean
    • Inherited from ve.PageMenu.options
    • .page_menu_options: Object
      • .attributes: Object
        • <attribute_key>: string
      • .name: string - Refers to the name of the current page.
      • .onchange: function(this:ve.PageMenu)
      • .style: Object
        • <style_key>: string

Constructor

new ve.PageMenuWindow()

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: