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

module.ClonePopup

Clone popup

Синтаксис

module.ClonePopup(Popup, ClonePopupName)

Название Пример Описание
Popup Popup type: Object
Object of the original popup
ClonePopupName "ClonePopup" type: string
Name of the cloned popup
На выходе
Object type: Object
object of the cloned popup on the basis of the original popup


Пример

var Popup = module.GetPopup("Popup 1")
var ClonePopup = module.ClonePopup(Popup, "ClonePopup");

Name of the cloned popup must be differernt from the name of the original popup