qms-angular 1.1.30 → 1.1.31
Sign up to get free protection for your applications and to get access to all the features.
@@ -4378,11 +4378,15 @@
|
|
4378
4378
|
this.renderer = renderer;
|
4379
4379
|
}
|
4380
4380
|
QMSListExpansionHeader.prototype.onClick = function ($event) {
|
4381
|
-
var
|
4382
|
-
|
4383
|
-
|
4384
|
-
|
4385
|
-
|
4381
|
+
var _this = this;
|
4382
|
+
setTimeout(function () {
|
4383
|
+
if (_this.elRef.nativeElement.classList.contains('mat-expanded')) {
|
4384
|
+
_this.renderer.addClass(_this.elRef.nativeElement, 'active-item');
|
4385
|
+
}
|
4386
|
+
else {
|
4387
|
+
_this.renderer.removeClass(_this.elRef.nativeElement, 'active-item');
|
4388
|
+
}
|
4389
|
+
}, 200);
|
4386
4390
|
};
|
4387
4391
|
QMSListExpansionHeader.prototype.ngAfterContentInit = function () {
|
4388
4392
|
core.setLines(this._lines, this.elRef);
|