NavigatorBox.copyObjects

Syntax

copyObjects(objects, parentKey, withContent);

Parameters

objects. Array of objects to be copied.

parentKey. Parent node key.

withContent. Determines whether to copy objects with their contents.

Description

The copyObjects method places copies of several objects to the clipboard.

Example

To execute the example, the HTML page must contain NavigatorBox component named navbox (see Example of Creating the NavigatorBox Component). A folder with the key 323 is also required. Copy the objects selected in the list to the folder with the key 323:

navbox.copyObjects(navbox.getSelectedObjects(), 323)

See also:

NavigatorBox