Add region comments

This commit is contained in:
Oliver 2025-11-20 22:42:56 -07:00
parent 804c4b3984
commit 9ea417ddc1

View file

@ -12,6 +12,7 @@ const validInputTypes = [
]; ];
export class Ask extends HandlebarsApplicationMixin(ApplicationV2) { export class Ask extends HandlebarsApplicationMixin(ApplicationV2) {
// #region Options
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
tag: `dialog`, tag: `dialog`,
classes: [ classes: [
@ -47,7 +48,9 @@ export class Ask extends HandlebarsApplicationMixin(ApplicationV2) {
template: filePath(`templates/Ask/controls.hbs`), template: filePath(`templates/Ask/controls.hbs`),
}, },
}; };
// #endregion Options
// #region Instance
_inputs = []; _inputs = [];
alwaysUseAnswerObject = false; alwaysUseAnswerObject = false;
@ -88,6 +91,7 @@ export class Ask extends HandlebarsApplicationMixin(ApplicationV2) {
this._userOnConfirm = onConfirm; this._userOnConfirm = onConfirm;
this._userOnClose = onClose; this._userOnClose = onClose;
}; };
// #endregion Instance
// #region Lifecycle // #region Lifecycle
async _onFirstRender() { async _onFirstRender() {