OpenObjects: function (sender, args);
sender. Event source.
args. Event information.
The OpenObjects event occurs on double clicking an object in the list.
To execute the example, the page must contain NavigatorBox component named navbox (see Example of Creating the NavigatorBox Component). Add a handler for the OpenObjects event:
navbox.OpenObjects.add(function ()
{
console.log(navbox.getObjectsListRootMbObject().getName());
navbox.setObjectListMode(PP.Mb.Ui.NavigatorBox.ObjectListMode.Large)
});
After executing the example double clicking a list object displays a message containing name of parent folder of the selected object to the browser console and displays objects as large icons.
See also: