ve.Confirm

ve.Feature. ve.Confirm

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

Confirmation prompt used for executing a .options.special_function call.

  • Functional binding: veConfirm().
  • Inherits Feature: ve.Modal
Constructor:
  • arg0_components_obj: function|Object<ve.Component>|string|ve.Component
  • arg1_options: Object - Superset of .options for ve.Modal.
    • .do_not_close: boolean - Whether to keep the confirmation prompt if .special_function is properly fired.
    • .special_function: function(v:function, e:ve.Button)
Methods::
  • close()

Constructor

new ve.Confirm()

Source:

Extends

Members

Methods

close()

Closes the present ve.Confirm feature.

  • Method of: ve.Confirm
Source:

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: