Extends
Constructor
new ve.ui.MWEditModeVisualTool(toolGroup, [config])
#
Hierarchy
MediaWiki UserInterface edit mode visual tool.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
toolGroup |
OO.ui.ToolGroup | ||
config |
Object |
optional |
Config options |
- Mixes in:
- Source:
MediaWiki UserInterface 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
- Overrides:
- Source:
Switch editors