new AttributeEditingAction()
Base class for attribute editing actions.
- Source:
Methods
(abstract) actionPerformed(currentValue, done)
This method is called when the user invoked attribute editing action.
It is intended to show a more specific editing interface for a given URL:
e.g. a color picker, an image chooser, etc.
Parameters:
Name | Type | Description |
---|---|---|
currentValue |
string | The current value of the attribute. |
done |
function | The function to be invoked with the edited value. The first parameter
is the new value of the attribute. The behaviour of the "done"
callback is the following:
|
- Source:
getButtonClass() → {string}
Renders a small icon for the action.
- Source:
Returns:
The URL of the small icon HTML element that corresponds to the small icon.
- Type
- string