Материал из Module developer
if (IR.DisplayType == IR.DISPLAY_TYPE_PHONE) { //If the module is used on a smart phone
var l_oPopupScanner = module.GetPopup("Phone"); //Show popup created for smart phones
}
else {
var l_oPopupScanner = module.GetPopup("Tablet");//If a module is used on a tablet, show a popup for tablets
}
