ButtonActionStyle Class
ButtonActionStyle is a mixin that provides applying style implementation for a
button based on the applyStyle
and removeStyle
API of CKEDITOR.
To execute properly, the component has to expose the following methods which can be obtained out of the box using the ButtonStyle mixin:
Index
Methods
- applyStyle
- extend static
Methods
applyStyle
()
Removes or applies the component style to the current selection.
extend
-
receiver
-
supplier
-
protoProps
-
staticProps
Sets the prototype, constructor and superclass properties to support an inheritance strategy that can chain constructors and methods. Static members will not be inherited.
Parameters:
-
receiver
FunctionThe class which will extend another class.
-
supplier
FunctionThe class which will provide the properties the child class.
-
protoProps
ObjectPrototype properties to add/override.
-
staticProps
ObjectStatic properties to add/overwrite.
Returns:
The extended class.