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