Skip to content

Commit 3d2ca5b

Browse files
authored
Create example_use_GlideModal.js for GlideModal demo
Added example usage of GlideModal for UI Page.
1 parent 910df08 commit 3d2ca5b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
//Example code to show the UI Page in GlideModal
4+
5+
var dialog = new GlideModal("YOUR_UI_PAGE_NAME");
6+
7+
//Set the dialog title
8+
dialog.setTitle('Demo title');
9+
10+
//Set the dialog width
11+
dialog.setWidth(550);
12+
13+
//Display the modal
14+
dialog.render();

0 commit comments

Comments
 (0)