Add region comments
This commit is contained in:
parent
804c4b3984
commit
9ea417ddc1
1 changed files with 4 additions and 0 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue