Optionaloptions: {}Options used to configure the Application instance
(default: {})
StaticACTOR_Available options to actor rolls
StaticDEFAULT_StaticDEFAULT_Default script type priority
StaticDOCUMENT_StaticDOCUMENT_Supported document types
StaticDROP_Supported drop data types.
StaticIMAGESStaticMACRO_StaticPARTSDrag & Drop Event Data
A convenience reference to the title of the Application window.
Generate either item or action script.
Generate Default Name
Generate Script Lines
Generate JS-safe string
Attempts to produce easier to read string than JSON.stringify() would create.
Initialize configuration options for the Application instance. The default behavior of this method is to intelligently merge options for each class with those of their parents.
Options provided directly to the constructor
Configured options for the application instance
Prepare Footer Context
Prepare context that is specific to only a single rendered part.
It is recommended to augment or mutate the shared context so that downstream methods like _onRender have visibility into the data that was used for rendering. It is acceptable to return a different context object rather than mutating the shared context at the expense of this transparency.
The part being rendered
Shared context provided by _prepareContext
Options which configure application rendering behavior
Context data for a specific part
StaticwaitInitialize, render, and wait for
App options
Applications are constructed by providing an object of configuration options.