Expand all

ve.ui.MWEditModeVisualTool

Extends

Constructor

new ve.ui.MWEditModeVisualTool(toolGroup, [config]) #

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

switch() #

Switch editors