getSelectedObjects(): Array;
The getSelectedObjects method returns an array of objects selected in the list of objects.
To execute the example, the HTML page must contain the Navigator component named nav (see Example of Creating the Navigator Component). Select objects and get the selected objects:
obj = nav.getSelectedObjects();
console.debug(JSON.stringify(obj, null, 4));
After executing the example the console displays information about selected objects.
See also: