Extends
Constructor
new ve.ui.ListTool(toolGroup, [config])abstract
#
UserInterface list tool.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
toolGroup |
OO.ui.ToolGroup | ||
config |
Object |
optional |
Configuration options |
- Source:
UserInterface list tool.
Properties
styleabstractstatic
#
List style the tool applies.
Properties:
Type | Description |
---|---|
string |
- Source:
List style the tool applies.
Methods
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.
onSelect()
#
- Inherited from:
- Source:
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 |
- Overrides:
- Source:
Handle the toolbar state being updated.