DictionaryTree.NodesLoaded

Syntax

NodesLoaded: function(sender, args, timeout);

Parameters

sender. Event source.

args. Event information.

timeout. Time delay (milliseconds) after which the event is fired.

Description

The NodesLoaded event is fired after loading dictionary tree elements.

Example

To execute this example, the page must contain the DictionaryBox component named dictionaryBox (see Example of creating the DictionaryBox component ). Get dictionary elements tree and process the NodesLoaded event. After that reload the elements tree.

// Get dictionary data area
var area = dictionaryBox.getDataArea();
// Get tree of dictionary elements
var tree = area.getActiveDictTree();
// Process the NodesLoaded event
tree.NodesLoaded.add(function (sender, eventArgs) {
    console.log("The NodesLoaded event initialized");
});
// Reload the tree of elements
tree.refreshAll(true);

After that the browser console shows a message that the processed event is fired:

NodesLoaded event initialized

See also:

DictionaryTree