The display.close() method closes a display file that was previously opened with the display.open() method, either manually or implicitly. The rich display file cannot be used again unless you explicitly reopen it with display.open().Â
...
Code Block | ||
---|---|---|
| ||
pjs.defineDisplay("display", "screen.json", { userOpen: true }); display.open(); //Logic to working with the display file fields, etc. can go here display.close(); |
RPG EquivalentÂ
...