foundryvtt-reve-de-dragon/module/html-utility.js

10 lines
167 B
JavaScript

export class HtmlUtility{
static _showControlWhen(control, condition) {
if (condition) {
control.show();
}
else {
control.hide();
}
}
}