Материал из Module developer
Перейти к: навигация, поиск

Module.GetPopup()

to get access to the popup (the analog of IR.GetPopup)

Syntax

Module.GetPopup(name)

input sample description
name "MyPopup" type: String
the popup name
output
Object type: Object
the reference to the popup


Example:

Module = B.getModule(ModuleID);
var popup = Module.GetPopup(“MyPopup”); // get popup from module

It can be used for Remote-type and Widget-type popups.