Extends
Constructor
new mw.libs.ve.MWEditModeVisualTool(toolGroup, [config])
#
Hierarchy
Children
MediaWiki edit mode visual tool.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
toolGroup |
OO.ui.ToolGroup | ||
config |
Object |
optional |
Config options |
MediaWiki edit mode visual tool.
Methods
getMode() → {string}
#
Get current edit mode
- Inherited from:
- Source:
Returns:
Current edit mode
- Type
- string
Get current edit mode
isModeAvailable(Edit) → {boolean}
#
Check if edit mode is available
Parameters:
Name | Type | Description |
---|---|---|
Edit |
string | mode |
- Inherited from:
- Source:
Returns:
Edit mode is available
- Type
- boolean
Check if edit mode is available
onSelect()
#
- Inherited from:
- Source:
onUpdateState()
#
- Inherited from:
- Source:
switch()
#
Switch editors
- Inherited from:
- Source:
Switch editors