NavigatorBox.OpenObjects

Syntax

OpenObjects: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The OpenObjects event occurs on double-click an object in the list.

Example

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:

NavigatorBox