DataArea.TabClosed

Syntax

TabClosed: function(sender, args: Object);

Parameters

sender. Event source.

args. Event information. Available arguments: Source - MDM dictionary.

Description

The TabClosed event is fired after closing MDM dictionary container tab.

Example

To execute this example, the page must contain the DictionaryBox component named dictionaryBox (see Example of creating the DictionaryBox component ). Process the TabClosed event and show named of the closed dictionary in the console:

// Get dictionary data area
var dataArea = dictionaryBox.getDataArea();
// Process the TabClosed event
dataArea.TabClosed.add(function (sender, args) {
    console.log("Name of the closed dictionary: %s", args.Source.getName());
});

Execute this example and manually close the tab containing MDM dictionary. After these operations the browser console shows name of the closed dictionary:

Name of the closed dictionary: Time units

See also:

DataArea