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

10 lines
188 B
JavaScript
Raw Normal View History

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