Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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()

Example

Code Block
languagejavascript
  pjs.defineDisplay("display", "screen.json", { userOpen: true });

  display.open();

  // Logic to workingwork with the display file fields, etc. can go here

  display.close();

RPG Equivalent 

CLOSE