The Resources tree displays a list of the popups included in the project. It allows you to:
●Manage the popups included in the project
●Manage the list of files used by the popup
●Manage the list of items of a popup
popup = POPUPS.SYSTEM = POPUPS.popup({ SYSTEM: {
template: e.popup.template.NoButton,
url: "SYSTEM\\popup.html",
CX: 490,
CY: 500,
X: e.popup.position.Center,
Y: e.popup.position.Center
}});
GLOBAL.events.START.on(function (ev) {
if (ctx.options.isDebug) {
systray.addMenu("", "TestPopup", "Test popups");
systray.addMenu("TestPopup", "SYSTEMOpen" , "Open SYSTEM", "", function(ev) {
POPUPS.SYSTEM.open({ testMode: true });
});
systray.addMenu("TestPopup", "SYSTEMClose" , "Close SYSTEM", "", function(ev) {
POPUPS.SYSTEM.close();
});
}
});
POPUPS.SYSTEM.onTest(function(popup) {
// TODO : add your tests here
});
popup.item({ alert1: {
type: e.item.type.alert,
parent: "",
style: e.item.style.Cyan,
close: false,
value: "",
test: "<strong>Welcome to Automation World. Please select your System.</strong>",
auto: true
}});
popup.item({ button1: {
type: e.item.type.button,
parent: "",
value: "ES1",
tooltip: "Add",
style: e.item.style.Blue,
icon: e.item.icon.none,
iconSide: e.item.side.left,
badge: "",
badgeStyle: e.item.style.None,
size: e.item.size.Large,
close: false,
submit: false,
disabled: false,
right: false,
justified: false,
fa: "",
animated: false,
pulse: false,
auto: true
}});
popup.item({ button2: {
type: e.item.type.button,
parent: "",
value: "S4H",
tooltip: "Add",
style: e.item.style.Blue,
icon: e.item.icon.none,
iconSide: e.item.side.left,
badge: "",
badgeStyle: e.item.style.None,
size: e.item.size.Large,
close: false,
submit: false,
disabled: false,
right: false,
justified: false,
fa: "",
animated: false,
pulse: false,
auto: true
}});
popup.item({ button3: {
type: e.item.type.button,
parent: "",
value: "E68",
tooltip: "",
style: e.item.style.Blue,
icon: e.item.icon.none,
iconSide: e.item.side.left,
badge: "",
badgeStyle: e.item.style.None,
size: e.item.size.Large,
close: false,
submit: false,
disabled: false,
right: false,
justified: false,
fa: "",
animated: false,
pulse: false,
auto: true
}});
popup.item({ button4: {
type: e.item.type.button,
parent: "",
value: "SM1",
tooltip: "",
style: e.item.style.Blue,
icon: e.item.icon.none,
iconSide: e.item.side.left,
badge: "",
badgeStyle: e.item.style.None,
size: e.item.size.Large,
close: false,
submit: false,
disabled: false,
right: false,
justified: false,
fa: "",
animated: false,
pulse: false,
auto: true
}});
popup.item({ button5: {
type: e.item.type.button,
parent: "",
value: "SM3",
tooltip: "",
style: e.item.style.Blue,
icon: e.item.icon.none,
iconSide: e.item.side.left,
badge: "",
badgeStyle: e.item.style.None,
size: e.item.size.Large,
close: false,
submit: false,
disabled: false,
right: false,
justified: false,
fa: "",
animated: false,
pulse: false,
auto: true
}});
popup.item({ button6: {
type: e.item.type.button,
parent: "",
value: "SEG",
tooltip: "",
style: e.item.style.Blue,
icon: e.item.icon.none,
iconSide: e.item.side.left,
badge: "",
badgeStyle: e.item.style.None,
size: e.item.size.Large,
close: false,
submit: false,
disabled: false,
right: false,
justified: false,
fa: "",
animated: false,
pulse: false,
auto: true
}});
popup.item({ image1: {
type: e.item.type.image,
parent: "",
src: "../SYSTEM/robot.jpg",
width: "460px",
height: "300px",
auto: true
}});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 | |
2 |