Versions Compared

Key

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


Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

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

...

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

  display.open();

  // Logic to work with display file fields can go here

  display.close();

RPG Equivalent 

CLOSE