Extends
Constructor
new ve.ui.RedoHistoryTool(toolGroup, [config])
#
UserInterface redo tool.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
toolGroup |
OO.ui.ToolGroup | ||
config |
Object |
optional |
Configuration options |
- Source:
UserInterface redo tool.
Methods
destroy()
#
- Inherited from:
- Source:
getCommand() → {ve.ui.Command|null
|undefined
}
#
null
|undefined
}
#
Get the command for this tool.
- Inherited from:
- Source:
Returns:
Undefined means command not found, null means no command set
- Type
-
ve.ui.Command
|
null
|undefined
Get the command for this tool.
onHistory()
#
Handle history events on the surface model
- Inherited from:
- Source:
Handle history events on the surface model
onSelect()
#
- Inherited from:
- Source:
onSurfaceChange(oldSurface, newSurface)
#
Handle surface change events from the toolbar
Parameters:
Name | Type | Description |
---|---|---|
oldSurface |
ve.ui.Surface
|
null
|
|
newSurface |
ve.ui.Surface
|
null
|
- Inherited from:
- Source:
Handle surface change events from the toolbar
onUpdateState(fragment, direction)
#
Handle the toolbar state being updated.
Parameters:
Name | Type | Description |
---|---|---|
fragment |
ve.dm.SurfaceFragment
|
null
|
Surface fragment |
direction |
Object
|
null
|
Context direction with 'inline' & 'block' properties |
- Inherited from:
- Source:
Handle the toolbar state being updated.