ButtonCommandListItem Class
The ButtonCommandListItem class is a UI class that renders a ButtonCommand that can be used inside a list as an item, with a string representation of its behaviour.
Methods
_getClassName
()
String
Returns the class name of Widget.
Returns:
The class name of the Widget.
execCommand
-
data
Executes a CKEditor command and fires actionPerformed
event.
Parameters:
-
data
Object=Optional data to be passed to CKEDITOR's
execCommand
method.
render
()
Object
Lifecycle. Renders the UI of the button.
Returns:
The content which should be rendered.
Properties
command
String
The command that should be executed.
description
String
The command label or description to render in the list entry.
icon
String
The command icon to render in the list entry.
key
String
static
The name which will be used as an alias of the button in the configuration.
Default: buttonCommandListItem
modifiesSelection
Boolean
Indicates that the command may cause the editor to have a different.