Chance actuelle
+ amélioration show/hide: dispo pour toute application (Dialog, Sheet)
This commit is contained in:
10
module/html-utility.js
Normal file
10
module/html-utility.js
Normal file
@ -0,0 +1,10 @@
|
||||
export class HtmlUtility{
|
||||
static _showControlWhen(control, condition) {
|
||||
if (condition) {
|
||||
$(control).show();
|
||||
}
|
||||
else {
|
||||
$(control).hide();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user