copyObjects(objects, parentKey, withContent);
objects. Array of objects to be copied.
parentKey. Parent node key.
withContent. Determines whether to copy objects with their contents.
The copyObjects method places copies of several objects to the clipboard.
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: