Extends
Members
Methods
addContextMenu(arg0_components_obj, arg1_optionsopt) → {ve.Window}
Adds a given context menu with a set .options.id to prevent duplicates.
- Method of: ve.ContextMenu
- Source:
Parameters:
| Name | Type | Attributes | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_components_obj |
Object
|
||||||||||||||
arg1_options |
Object
|
<optional> |
|
Returns:
- Type:
-
ve.Window
close() → {ve.ContextMenu}
Closes the present context menu and all its associated layers.
- Method of: ve.ContextMenu
Returns:
- Type:
-
ve.ContextMenu
getCurrentOffset() → {number}
Returns the current X offset in px from the anchored first layer. Default padding is 4px.
- Method of: ve.ContextMenu
Returns:
- Type:
-
number
open() → {ve.ContextMenu}
Opens the present context menu with its bound this.components_obj.
- Method of: ve.ContextMenu
Returns:
- Type:
-
ve.ContextMenu
removeContextMenu(arg0_index) → {ve.ContextMenu}
Removes a context menu layer based on its order.
- Method of: ve.ContextMenu
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_index |
number
|
Returns:
- Type:
-
ve.ContextMenu
addComponents(arg0_components_obj)
Adds components to the present this.element.
- Method of: ve.Feature
- Overrides:
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_components_obj |
Object
|
remove()
Removes the ve.Feature from its static .instances field in addition to unmounting the feature from the DOM.
- Method of: ve.Feature
- Overrides:
- Source:
removeComponents(arg0_components_obj)
Removes components from the present this.element.
- Method of: ve.Feature
- 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.
- Method of: ve.Feature
- Overrides:
- Source: