display.close()

 

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 reopen it with display.open(). 

Example

pjs.defineDisplay("display", "screen.json", { userOpen: true }); display.open(); // Logic to work with display file fields can go here display.close();

RPG Equivalent 

CLOSE

Â