PhotonUI logo

PhotonUI

A javascript framework to create user interfaces

PopupWindow

Class Reference

More examples

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var popup = new photonui.PopupWindow({
width: 200,
height: 200
});
var button = new photonui.Button({
text: "Click me to display the popup",
buttonColor: "blue",
callbacks: {
click: function(widget, event) {
popup.popupWidget(widget);
}
}
});
photonui.domInsert(button, "demo");