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

10 lines
187 B
JavaScript
Raw Normal View History

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