TinyMCE:API/tinymce.Editor/execCallback
From Moxiecode Documentation Wiki
Contents |
[edit]
Method: execCallback
[edit]
Summary
Executes a legacy callback. This method is useful to call old 2.x option callbacks. There new event model is a better way to add callback so this method might be removed in the future.
[edit]
Syntax
<Object> execCallback(<String> n, <mixed> val)
[edit]
Parameters
- n
- Name of the callback to execute.
- val
- Optional command value, this can be anything.
[edit]
Returns
Return value passed from callback function.
