TinyMCE:API/tinymce.Editor/execCallback

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Method: execCallback

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.

Syntax

<Object> execCallback(<String> n, <mixed> val)

Parameters

n
Name of the callback to execute.
val
Optional command value, this can be anything.

Returns

Return value passed from callback function.

Personal tools