PhotonUI logo

PhotonUI

A javascript framework to create user interfaces

Select

Class Reference

More examples

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
var select = new photonui.Select({
iconVisible: true,
children: [
new photonui.MenuItem({
value: "text-file",
text: "Text",
icon: new photonui.FAIcon("fa-file-text-o")
}),
new photonui.MenuItem({
value: "image-file",
text: "Image",
icon: new photonui.FAIcon("fa-file-image-o")
}),
new photonui.MenuItem({
value: "pdf-file",
text: "PDF",
icon: new photonui.FAIcon("fa-file-pdf-o")
})
]
});
photonui.domInsert(select, "demo");