ImageList.IsRetinaAvailable

Syntax

IsRetinaAvailable();

Description

The IsRetinaAvailable property returns if it is possible to work in a device having Retina display.

Comments

The property value is determined automatically depending on the device that is used to log in to Foresight Analytics Platform.

By default this property is set to False.

When opening the web application on a device having Retina display, this property sets to true.

Example

To execute the example create the ListBox component named listbox2 containing the ImageList non-visual component named imagelist2 (see IconListItem Constructor). Determine, if working on a Retina display device is possible:

var isretina = listbox2.getImageList().getIsRetinaAvailable();

alert(isretina);

After executing the example the following message appears in the screen: True - if it is possible to work on a Retina display, False - it is not possible to work with it.

See also:

ImageList