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

10 lines
173 B
JavaScript
Raw Normal View History

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