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

10 lines
167 B
JavaScript
Raw Normal View History

export class HtmlUtility{
static _showControlWhen(control, condition) {
if (condition) {
2020-12-20 02:05:47 +01:00
control.show();
}
else {
2020-12-20 02:05:47 +01:00
control.hide();
}
}
}