MetabaseObjectsView.getImageList

Syntax

getImageList() : PP.ImageList;

Description

The getImageList method returns sprite object.

Comments

Sprite is a set of images in a single file.

Example

To execute the example, the page must contain NavigatorBox component named navbox (see Example of Creating the NavigatorBox Component).

// Get object view
view = navbox.getObjectsView();
// Get sprite
view.getImageList();
// -> PP.ImageList {_IconHeight: 16, _IconWidth: 16, _Source: "../Build/img/metabase/GlbClsImg16.png", _IsRetinaAvailable: false, _Image: null…}

After executing the example the object with sprite is obtained.

See also:

MetabaseObjectsView