Extends
Constructor
new ve.ui.ContextOptionWidget(tool, model, [config])
#
Proxy for a tool, displaying information about the current context.
Use with ve.ui.ContextSelectWidget.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
tool |
function | Tool item is a proxy for |
|
model |
ve.dm.Node | ve.dm.Annotation | Node or annotation item is related to |
|
config |
Object |
optional |
Configuration options |
Proxy for a tool, displaying information about the current context.
Methods
getCommand() → {ve.ui.Command}
#
Get the command for this item.
getDescription() → {string}
#
Get a description of the model.
Returns:
Description of model
- Type
- string
Get a description of the model.