foundryvtt-reve-de-dragon/module/html-utility.js
2023-01-10 22:17:30 +01:00

10 lines
187 B
JavaScript

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