TransformDialogLeftPanel.ExpressionCreated

Syntax

ExpressionCreated: function (sender, args);

Parameters

sender. Event source.

args. Information on the event.  Arguments: Expression - information about selected expression; Poisition - position, to which expression is placed.

Description

The ExpressionCreated event occurs after selecting a dimension element and clicking the Insert button in the left panel of the TransformDialog component.

Example

To execute the example, the HTML page must contain the TransformDialog component named dialog (see Example of Creating the TransformDialog Component). Add a hander of the ExpressionCreated event to the left panel of the dialog box:

// Add a handler of the ExpressionCreated event to the left panel of the dialog box
dialog._LeftPanel.ExpressionCreated.add(function(sender, args) {
    console.log("Expression is added to formula editor");
});

Select a dimension element and add its expression to formula editor. As a result the console displays a message about adding an expression:

Expression is added to formula editor

See also:

TransformDialogLeftPanel