OpenObjects: function (sender, args);
sender. Event source.
args. Event information.
The OpenObjects event occurs on double-click 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-click on an object in the list displays a message containing name of parent folder of the selected object in the browser console and displays objects as large icons.
See also: