Class CKEDITOR.dialog.buttonDefinition
Defined in: plugins/dialog/dialogDefinition.js.
Constructor Attributes | Constructor Name and Description |
---|---|
This class is not really part of the API.
|
Field Attributes | Field Name and Description |
---|---|
The CTRL hotkey for the button.
|
|
Whether the button is disabled.
|
|
The id of the dialog button.
|
|
The label of the dialog button.
|
|
The function to execute when the button is clicked.
|
|
The popup message of the dialog button.
|
Class Detail
CKEDITOR.dialog.buttonDefinition()
Since:
3.0
This class is not really part of the API. It just illustrates the properties
that developers can use to define and create dialog buttons.
// There is no constructor for this class, the user just has to define an // object with the appropriate properties.
Field Detail
{String}
accessKey
Since:
3.0
The CTRL hotkey for the button.
exitButton.accessKey = 'X'; // Button will be pressed when user presses CTRL-X
{Boolean}
disabled
Since:
3.0
Whether the button is disabled.
- Default Value:
- false
{String}
id
Since:
3.0
The id of the dialog button. Required.
{String}
label
Since:
3.0
The label of the dialog button. Required.
{Function}
onClick
Since:
3.0
The function to execute when the button is clicked.
{String}
title
Since:
3.0
The popup message of the dialog button.